Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for LockInfo (0.16 sec)

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

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package org.gradle.cache.internal.filelock;
    
    public class LockInfo {
        public int port = -1;
        public long lockId;
        public String pid = "unknown";
        public String operation = "unknown";
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 813 bytes
    - Viewed (0)
  2. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/filelock/LockFileAccess.java

            LockInfo lockInfo = new LockInfo();
            lockInfo.port = port;
            lockInfo.lockId = lockId;
            lockInfo.pid = pid;
            lockInfo.operation = operation;
            lockInfoAccess.writeLockInfo(lockFileAccess, lockInfo);
        }
    
        public LockInfo readLockInfo() throws IOException {
            return lockInfoAccess.readLockInfo(lockFileAccess);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  3. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/filelock/LockInfoSerializer.java

        public void write(DataOutput dataOutput, LockInfo lockInfo) throws IOException {
            dataOutput.writeInt(lockInfo.port);
            dataOutput.writeLong(lockInfo.lockId);
            dataOutput.writeUTF(trimIfNecessary(lockInfo.pid));
            dataOutput.writeUTF(trimIfNecessary(lockInfo.operation));
        }
    
        public LockInfo read(DataInput dataInput) throws IOException {
            LockInfo out = new LockInfo();
            out.port = dataInput.readInt();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  4. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/filelock/LockInfoAccess.java

        public void writeLockInfo(RandomAccessFile lockFileAccess, LockInfo lockInfo) throws IOException {
            lockFileAccess.seek(infoRegionPos);
    
            DataOutputStream outstr = new DataOutputStream(new BufferedOutputStream(new RandomAccessFileOutputStream(lockFileAccess)));
            outstr.writeByte(lockInfoSerializer.getVersion());
            lockInfoSerializer.write(outstr, lockInfo);
            outstr.flush();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/DefaultFileLockManager.java

                            LockInfo lockInfo = readInformationRegion(backoff);
                            if (lockInfo.port != -1) {
                                if (lockInfo.port != lastLockHolderPort) {
                                    backoff.restartTimer();
                                    lastLockHolderPort = lockInfo.port;
                                    lastPingTime = 0;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:32 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  6. testing/architecture-test/src/changes/archunit-store/internal-api-nullability.txt

    Class <org.gradle.cache.internal.filelock.LockInfo> is not annotated (directly or via its package) with @org.gradle.api.NonNullApi in (LockInfo.java:0)
    Class <org.gradle.cache.internal.filelock.LockInfoAccess> is not annotated (directly or via its package) with @org.gradle.api.NonNullApi in (LockInfoAccess.java:0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 967.9K bytes
    - Viewed (0)
Back to top