Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getUnlockedCleanly (0.34 sec)

  1. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/FileLock.java

         * (ie a process did not crash while updating the target file).
         *
         * Returns false if no mutation method has ever been called for the target file.
         */
        boolean getUnlockedCleanly();
    
        /**
         * Returns true if the given file is used by this lock.
         */
        boolean isLockFile(File file);
    
        /**
         * Closes this lock, releasing the lock and any resources associated with it.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  2. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/DefaultPersistentDirectoryCache.java

            return properties;
        }
    
        private class Initializer implements CacheInitializationAction {
            @Override
            public boolean requiresInitialization(FileLock lock) {
                if (!lock.getUnlockedCleanly()) {
                    if (lock.getState().canDetectChanges() && !lock.getState().isInInitialState()) {
                        LOGGER.warn("Invalidating {} as it was not closed cleanly.", DefaultPersistentDirectoryCache.this);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 19:20:15 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  3. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/DefaultFileLockManager.java

            }
    
            @Override
            public boolean isLockFile(File file) {
                return file.equals(lockFile);
            }
    
            @Override
            public boolean getUnlockedCleanly() {
                assertOpen();
                return !lockState.isDirty();
            }
    
            @Override
            public State getState() {
                assertOpen();
                return lockState;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:32 UTC 2024
    - 22.3K bytes
    - Viewed (0)
Back to top