- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for ExclusiveCacheAccessingWorker (0.2 sec)
-
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/ExclusiveCacheAccessingWorker.java
import java.util.concurrent.ExecutionException; import java.util.concurrent.FutureTask; import java.util.concurrent.TimeUnit; import java.util.function.Supplier; public class ExclusiveCacheAccessingWorker implements Runnable, Stoppable, AsyncCacheAccess { private final BlockingQueue<Runnable> workQueue; private final String displayName; private final ExclusiveCacheAccessCoordinator cacheAccess;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:50 UTC 2024 - 8.8K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/ExclusiveCacheAccessingWorkerTest.groovy
ExclusiveCacheAccessCoordinator cacheAccess ExclusiveCacheAccessingWorker cacheAccessWorker def setup() { cacheAccess = Stub(ExclusiveCacheAccessCoordinator) { useCache(_) >> { Runnable action -> action.run() } } cacheAccessWorker = new ExclusiveCacheAccessingWorker("<cache>", cacheAccess) } def "read runs after queued writes are processed"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:08:47 UTC 2023 - 4.9K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/DefaultCacheCoordinator.java
private final AbstractCrossProcessCacheAccess crossProcessCacheAccess; private final CacheAccessOperationsStack operations; private ManagedExecutor cacheUpdateExecutor; private ExclusiveCacheAccessingWorker cacheAccessWorker; private final Lock stateLock = new ReentrantLock(); // protects the following state private final Condition condition = stateLock.newCondition(); private boolean open;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 01 12:21:15 UTC 2024 - 20.5K bytes - Viewed (0)