Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for operationCount (0.09 sec)

  1. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/cacheops/CacheOperationStack.java

    class CacheOperationStack {
        private int operationCount;
    
        public boolean isInCacheAction() {
            return operationCount>0;
        }
    
        public CacheOperationStack pushCacheAction() {
            operationCount++;
            return this;
        }
    
        public void popCacheAction() {
            checkNotEmpty();
            operationCount--;
        }
    
    
        private void checkNotEmpty() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/internal/operations/DefaultBuildOperationQueue.java

                        return ++operationCount;
                    }
                    runOperation(operation);
                    operationCount++;
                    operation = getNextOperation();
                }
                return operationCount;
            }
    
            @Nullable
            private T getNextOperation() {
                lock.lock();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 31 15:18:20 UTC 2023
    - 10.4K bytes
    - Viewed (0)
Back to top