Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for clearLockInfo (0.38 sec)

  1. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/filelock/LockFileAccess.java

            LockState newState = lockState.beforeUpdate();
            lockStateAccess.writeState(lockFileAccess, newState);
            return newState;
        }
    
        public void clearLockInfo() throws IOException {
            lockInfoAccess.clearLockInfo(lockFileAccess);
        }
    
        public FileLockOutcome tryLockInfo(boolean shared) throws IOException {
            return lockInfoAccess.tryLock(lockFileAccess, shared);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  2. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/filelock/LockInfoAccess.java

            lockInfoSerializer.write(outstr, lockInfo);
            outstr.flush();
    
            lockFileAccess.setLength(lockFileAccess.getFilePointer());
        }
    
        public void clearLockInfo(RandomAccessFile lockFileAccess) throws IOException {
            lockFileAccess.setLength(Math.min(lockFileAccess.length(), infoRegionPos));
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/DefaultFileLockManager.java

                                }
                                if (lockOutcome.isLockWasAcquired()) {
                                    try {
                                        lockFileAccess.clearLockInfo();
                                    } finally {
                                        lockOutcome.getFileLock().release();
                                    }
                                }
                            }
    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