- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for LockInfo (0.12 sec)
-
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/filelock/LockInfo.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:08:47 UTC 2023 - 813 bytes - Viewed (0) -
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) -
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) -
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)