- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for readFromDisk (0.15 sec)
-
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/store/CachedStoreFactory.java
private final AtomicLong diskReadsTotalMs = new AtomicLong(); private final AtomicLong readsFromCache = new AtomicLong(); private final AtomicLong readsFromDisk = new AtomicLong(); public void readFromDisk(long duration) { readsFromDisk.incrementAndGet(); diskReadsTotalMs.addAndGet(duration); } public void readFromCache() { readsFromCache.incrementAndGet();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:50 UTC 2024 - 3.9K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/vfs/impl/DefaultFileSystemAccess.java
} }); } private <T> T readSnapshotFromLocation( String location, Function<FileSystemLocationSnapshot, T> snapshotProcessor, Supplier<T> readFromDisk ) { return virtualFileSystem.findSnapshot(location) .map(snapshotProcessor) // Avoid snapshotting the same location at the same time
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 16:02:35 UTC 2024 - 11.1K bytes - Viewed (0)