Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for BuildCacheController (0.32 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/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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. platforms/core-execution/build-cache/src/main/java/org/gradle/caching/internal/controller/NoOpBuildCacheController.java

    import org.gradle.internal.snapshot.FileSystemSnapshot;
    
    import java.time.Duration;
    import java.util.Map;
    import java.util.Optional;
    
    public class NoOpBuildCacheController implements BuildCacheController {
    
        public static final BuildCacheController INSTANCE = new NoOpBuildCacheController();
    
        private NoOpBuildCacheController() {
        }
    
        @Override
        public boolean isEnabled() {
            return false;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 16:15:26 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/ResolveIncrementalCachingStateStep.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.internal.execution.UnitOfWork;
    import org.gradle.internal.execution.caching.CachingState;
    import org.gradle.internal.execution.history.PreviousExecutionState;
    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)
Back to top