Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for cachingState (0.29 sec)

  1. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/caching/CachingState.java

    import java.util.function.Consumer;
    import java.util.function.Function;
    
    public class CachingState {
        public static final CachingState NOT_DETERMINED = disabledWithoutInputs(new CachingDisabledReason(CachingDisabledReasonCategory.UNKNOWN, "Cacheability was not determined"));
    
        private final Either<Enabled, Disabled> delegate;
    
        private CachingState(Either<Enabled, Disabled> delegate) {
            this.delegate = delegate;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 13:41:13 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/CachingResult.java

    import org.gradle.internal.execution.caching.CachingState;
    import org.gradle.internal.execution.history.ExecutionOutputState;
    
    import javax.annotation.Nullable;
    import java.time.Duration;
    
    public class CachingResult extends UpToDateResult {
    
        private final CachingState cachingState;
    
        public CachingResult(UpToDateResult parent, CachingState cachingState) {
            super(parent);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:30 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  3. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/IncrementalCachingContext.java

    import org.gradle.internal.execution.caching.CachingState;
    
    public class IncrementalCachingContext extends IncrementalChangesContext implements CachingContext {
    
        private final CachingState cachingState;
    
        public IncrementalCachingContext(IncrementalChangesContext parent, CachingState cachingState) {
            super(parent);
            this.cachingState = cachingState;
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 31 09:46:47 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  4. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/InputChangesContext.java

            super(parent);
            this.inputChanges = inputChanges;
            this.cachingState = cachingState;
        }
    
        protected InputChangesContext(InputChangesContext parent) {
            this(parent, parent.getInputChanges().orElse(null), parent.getCachingState());
        }
    
        public Optional<InputChangesInternal> getInputChanges() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 08:26:32 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. subprojects/core/src/testFixtures/groovy/org/gradle/api/internal/tasks/AbstractSnapshotInputsBuildOperationResultTest.groovy

                        ]
                        getSnapshot() >> snapshots
                    }
                )
            }
            def cachingState = CachingState.enabled(Mock(BuildCacheKey), beforeExecutionState)
            def buildOpResult = createSnapshotInputsBuildOperationResult(
                cachingState,
                [inputFileProperty] as Set
            )
    
            when:
            buildOpResult.visitInputFileProperties(visitor)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jul 07 15:16:07 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  6. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/ExecuteWorkBuildOperationFiringStep.java

            private final Try<ExecutionEngine.Execution> execution;
            private final CachingState cachingState;
            private final Optional<OriginMetadata> originMetadata;
            private final ImmutableList<String> executionReasons;
    
            public ExecuteWorkResult(
                Try<ExecutionEngine.Execution> execution,
                CachingState cachingState,
                Optional<OriginMetadata> originMetadata,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 10:36:34 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  7. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/NonIncrementalCachingContext.java

    import org.gradle.internal.execution.caching.CachingState;
    
    public class NonIncrementalCachingContext extends ValidationFinishedContext implements CachingContext {
    
        private final CachingState cachingState;
    
        public NonIncrementalCachingContext(ValidationFinishedContext parent, CachingState cachingState) {
            super(parent);
            this.cachingState = cachingState;
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 31 09:46:47 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  8. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/AbstractResolveCachingStateStep.java

        private CachingState calculateCachingStateWithNoCapturedInputs(UnitOfWork work) {
            if (!buildCache.isEnabled()) {
                return BUILD_CACHE_DISABLED_STATE;
            }
            return work.shouldDisableCaching(null)
                .map(CachingState::disabledWithoutInputs)
                .orElse(CachingState.NOT_DETERMINED);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 08 08:29:47 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/api/internal/tasks/TaskExecuterResult.java

            }
    
            @Override
            public Optional<OriginMetadata> getReusedOutputOriginMetadata() {
                return Optional.empty();
            }
    
            @Override
            public CachingState getCachingState() {
                return CachingState.NOT_DETERMINED;
            }
        };
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 27 16:45:45 UTC 2019
    - 2K bytes
    - Viewed (0)
  10. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/ResolveNonIncrementalCachingStateStep.java

            return Optional.empty();
        }
    
        @Override
        protected UpToDateResult executeDelegate(UnitOfWork work, C context, CachingState cachingState) {
            return delegate.execute(work, new NonIncrementalCachingContext(context, cachingState));
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 08 08:29:47 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top