Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for BuildCacheController (0.34 sec)

  1. platforms/core-execution/build-cache/src/main/java/org/gradle/caching/internal/controller/BuildCacheController.java

     *
     * <p>Note that some implementations are mutable and may change behavior over the lifetime of a build.</p>
     */
    @ServiceScope(Scope.Gradle.class)
    public interface BuildCacheController extends Closeable {
    
        boolean isEnabled();
    
        Optional<BuildCacheLoadResult> load(BuildCacheKey cacheKey, CacheableEntity cacheableEntity);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 23:08:20 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. platforms/core-execution/build-cache-example-client/src/main/java/org/gradle/caching/example/ExampleBuildCacheClient.java

                .useBuildCache();
            System.exit(0);
        }
    
        @Inject
        public ExampleBuildCacheClient(BuildCacheController buildCacheController, FileSystemAccess fileSystemAccess) {
            this.buildCacheController = buildCacheController;
            this.fileSystemAccess = fileSystemAccess;
        }
    
        private void useBuildCache() throws IOException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 19:35:22 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/caching/internal/controller/impl/LifecycleAwareBuildCacheControllerFactory.java

                resetState();
            }
    
            protected static void createDelegate(BuildCacheConfigurationInternal configuration, AtomicReference<BuildCacheController> delegate, BuildCacheControllerFactory buildCacheControllerFactory, Path identityPath, InstanceGenerator instanceGenerator) {
                BuildCacheController controller = buildCacheControllerFactory.createController(identityPath, configuration, instanceGenerator);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 23:28:13 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  4. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/BuildCacheStepTest.groovy

    import static org.gradle.internal.execution.ExecutionEngine.ExecutionOutcome.FROM_CACHE
    
    class BuildCacheStepTest extends StepSpec<TestCachingContext> implements SnapshotterFixture {
        def buildCacheController = Mock(BuildCacheController)
    
        def beforeExecutionState = Stub(BeforeExecutionState)
    
        def cacheKeyHashCode = "30a042b90a"
        def cacheKey = Stub(BuildCacheKey) {
            hashCode >> cacheKeyHashCode
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 10:13:50 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  5. platforms/core-execution/execution/src/testFixtures/groovy/org/gradle/internal/execution/TestExecutionEngineFactory.java

     */
    public class TestExecutionEngineFactory {
        public static ExecutionEngine createExecutionEngine(
            UniqueId buildId,
            BuildCacheController buildCacheController,
            BuildOperationRunner buildOperationRunner,
            ClassLoaderHierarchyHasher classloaderHierarchyHasher,
            Deleter deleter,
            ExecutionStateChangeDetector changeDetector,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 10:36:34 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/internal/service/scopes/ExecutionGradleServices.java

            return listenerManager.getBroadcaster(OutputChangeListener.class);
        }
    
        @Provides
        public ExecutionEngine createExecutionEngine(
            BuildCacheController buildCacheController,
            BuildCancellationToken cancellationToken,
            BuildInvocationScopeId buildInvocationScopeId,
            BuildOperationRunner buildOperationRunner,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/caching/internal/controller/impl/LifecycleAwareBuildCacheController.java

    import org.gradle.caching.internal.controller.BuildCacheController;
    import org.gradle.internal.service.scopes.Scope;
    import org.gradle.internal.service.scopes.ServiceScope;
    
    /**
     * This class is in this package, alongside {@link LifecycleAwareBuildCacheControllerFactory}, to keep the complexity of the Gradle-specific {@link BuildCacheController} lifecycle in one place.
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 23:28:13 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/caching/internal/services/BuildCacheControllerFactory.java

     * limitations under the License.
     */
    
    package org.gradle.caching.internal.services;
    
    import org.gradle.caching.configuration.internal.BuildCacheConfigurationInternal;
    import org.gradle.caching.internal.controller.BuildCacheController;
    import org.gradle.internal.instantiation.InstanceGenerator;
    import org.gradle.internal.service.scopes.Scope;
    import org.gradle.internal.service.scopes.ServiceScope;
    import org.gradle.util.Path;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 23:08:20 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  9. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/ResolveNonIncrementalCachingStateStep.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.execution.steps;
    
    import org.gradle.caching.internal.controller.BuildCacheController;
    import org.gradle.caching.internal.controller.NoOpBuildCacheController;
    import org.gradle.internal.execution.UnitOfWork;
    import org.gradle.internal.execution.caching.CachingState;
    import org.gradle.internal.hash.HashCode;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 08 08:29:47 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/AbstractResolveCachingStateStep.java

        private static final CachingState VALIDATION_FAILED_STATE = CachingState.disabledWithoutInputs(VALIDATION_FAILED_REASON);
    
        private final BuildCacheController buildCache;
        private final boolean emitDebugLogging;
    
        public AbstractResolveCachingStateStep(
            BuildCacheController buildCache,
            boolean emitDebugLogging
        ) {
            this.buildCache = buildCache;
            this.emitDebugLogging = emitDebugLogging;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 08 08:29:47 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top