Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for CacheAccessOperationsStack (0.34 sec)

  1. 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)
  2. 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)
  3. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/DefaultCacheCoordinator.java

    import org.gradle.cache.LockTimeoutException;
    import org.gradle.cache.MultiProcessSafeIndexedCache;
    import org.gradle.cache.internal.btree.BTreePersistentIndexedCache;
    import org.gradle.cache.internal.cacheops.CacheAccessOperationsStack;
    import org.gradle.internal.Cast;
    import org.gradle.internal.UncheckedException;
    import org.gradle.internal.concurrent.ExecutorFactory;
    import org.gradle.internal.concurrent.ManagedExecutor;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 01 12:21:15 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  4. testing/architecture-test/src/changes/archunit-store/internal-api-nullability.txt

    Class <org.gradle.cache.internal.cacheops.CacheAccessOperationsStack> is not annotated (directly or via its package) with @org.gradle.api.NonNullApi in (CacheAccessOperationsStack.java:0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 967.9K bytes
    - Viewed (0)
Back to top