- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for isInCacheAction (0.22 sec)
-
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/cacheops/CacheAccessOperationsStack.java
} stack.popCacheAction(); if (stack.isEmpty()) { stackForThread.remove(); } } public boolean isInCacheAction() { CacheOperationStack stack = stackForThread.get(); return stack != null && stack.isInCacheAction(); } private CacheOperationStack getOrCreateStack() { CacheOperationStack stack = stackForThread.get(); if (stack == null) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 16:02:31 UTC 2024 - 1.7K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/cacheops/CacheOperationStack.java
* limitations under the License. */ package org.gradle.cache.internal.cacheops; class CacheOperationStack { private int operationCount; public boolean isInCacheAction() { return operationCount>0; } public CacheOperationStack pushCacheAction() { operationCount++; return this; } public void popCacheAction() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:08:47 UTC 2023 - 1.2K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/DefaultCacheCoordinator.java
/** * Releases ownership of the cache. * Must be called while holding the lock. */ private void releaseOwnership() { operations.popCacheAction(); if (!operations.isInCacheAction()) { owner = null; condition.signalAll(); } } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 01 12:21:15 UTC 2024 - 20.5K bytes - Viewed (0)