- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for CacheAccessOperationsStack (1.12 sec)
-
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/cacheops/CacheAccessOperationsStack.java
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.cache.internal.cacheops; public class CacheAccessOperationsStack { @SuppressWarnings("ThreadLocalUsage") private final ThreadLocal<CacheOperationStack> stackForThread = new ThreadLocal<>(); public void pushCacheAction() {
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/test/groovy/org/gradle/cache/internal/cacheops/CacheAccessOperationsStackTest.groovy
*/ package org.gradle.cache.internal.cacheops import org.gradle.util.ConcurrentSpecification class CacheAccessOperationsStackTest extends ConcurrentSpecification { def stack = new CacheAccessOperationsStack() def "maintains operations per thread #count"() { expect: start { assert !stack.inCacheAction stack.pushCacheAction() stack.pushCacheAction()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:08:47 UTC 2023 - 1.4K bytes - Viewed (0)