- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 34 for cacheFactory (0.19 sec)
-
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/CacheFactory.java
import javax.annotation.Nullable; import java.io.File; import java.util.Map; import java.util.function.Consumer; @ServiceScope(Scope.Global.class) public interface CacheFactory { /** * Opens a cache with the given options. The caller must close the cache when finished with it. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 19:10:33 UTC 2024 - 1.5K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/DefaultInstantiatorFactory.java
private final ManagedFactory managedFactory; public DefaultInstantiatorFactory(CrossBuildInMemoryCacheFactory cacheFactory, List<InjectAnnotationHandler> injectHandlers, PropertyRoleAnnotationHandler roleAnnotationHandler) { this.cacheFactory = cacheFactory; this.annotationHandlers = injectHandlers; this.roleHandler = roleAnnotationHandler; this.defaultServices = defaultServiceRegistry();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 8.3K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultCacheBuilderTest.groovy
private final CacheFactory cacheFactory = Mock() private final PersistentCache cache = Mock() private final DefaultCacheBuilder builder = new DefaultCacheBuilder(cacheFactory, sharedCacheDir) void createsGlobalDirectoryBackedCache() { when: def result = builder.open() then: result == cache
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 16:40:49 UTC 2024 - 2.9K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/service/scopes/WorkerSharedUserHomeScopeServices.java
registration.add(GlobalCacheDir.class); } @Provides UnscopedCacheBuilderFactory createCacheRepository(CacheFactory cacheFactory) { return new DefaultUnscopedCacheBuilderFactory(cacheFactory); } @Provides DefaultGlobalScopedCacheBuilderFactory createGlobalScopedCache(GlobalCacheDir globalCacheDir, UnscopedCacheBuilderFactory unscopedCacheBuilderFactory) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 12:34:44 UTC 2024 - 2.3K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/tasks/properties/InspectionSchemeFactory.java
private final CrossBuildInMemoryCacheFactory cacheFactory; public InspectionSchemeFactory( List<? extends TypeAnnotationHandler> allKnownTypeHandlers, List<? extends PropertyAnnotationHandler> allKnownPropertyHandlers, TypeAnnotationMetadataStore typeAnnotationMetadataStore, CrossBuildInMemoryCacheFactory cacheFactory ) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 17 00:47:05 UTC 2024 - 6.2K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/InMemoryCacheDecoratorFactoryTest.groovy
import org.gradle.cache.MultiProcessSafeIndexedCache import spock.lang.Specification import java.util.function.Supplier class InMemoryCacheDecoratorFactoryTest extends Specification { def cacheFactory = new DefaultInMemoryCacheDecoratorFactory(false, new TestCrossBuildInMemoryCacheFactory()) def target = Mock(MultiProcessSafeIndexedCache) def asyncCacheAccess = Mock(AsyncCacheAccess)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:50 UTC 2024 - 6.2K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/cache/internal/GradleUserHomeCleanupServices.java
GradleUserHomeDirProvider gradleUserHomeDirProvider, BuildOperationRunner buildOperationRunner, CacheConfigurationsInternal cacheConfigurations, ListenerManager listenerManager, CacheFactory cacheFactory ) { UsedGradleVersions usedGradleVersions = new UsedGradleVersionsFromGradleUserHomeCaches(cacheBuilderFactory); registration.add(UsedGradleVersions.class, usedGradleVersions);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 12:34:44 UTC 2024 - 2.7K bytes - Viewed (0) -
subprojects/core/src/testFixtures/groovy/org/gradle/cache/internal/TestDecompressionCoordinators.java
private TestDecompressionCoordinators() {} public static DecompressionCoordinator decompressionCoordinator(File cacheDir) { final TestInMemoryCacheFactory cacheFactory = new TestInMemoryCacheFactory(); return new DefaultDecompressionCoordinator(cacheFactory.open(cacheDir, "test compression cache")); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 26 15:15:04 UTC 2024 - 1.3K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/AbstractTaskInputsAndOutputsTest.groovy
def cacheFactory = new TestCrossBuildInMemoryCacheFactory() def typeAnnotationMetadataStore = new DefaultTypeAnnotationMetadataStore( [], [:], ["java", "groovy"], [], [Object, GroovyObject], [ConfigurableFileCollection, Property], [Internal], { false }, cacheFactory )
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 20:42:35 UTC 2024 - 4.6K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/DefaultInstantiationSchemeTest.groovy
class DefaultInstantiationSchemeTest extends Specification { def cacheFactory = new TestCrossBuildInMemoryCacheFactory() def classGenerator = AsmBackedClassGenerator.injectOnly([], Stub(PropertyRoleAnnotationHandler), [], cacheFactory, 123) def scheme = new DefaultInstantiationScheme( new Jsr330ConstructorSelector(classGenerator, cacheFactory.newClassCache()), classGenerator, new DefaultServiceRegistry(),
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2.7K bytes - Viewed (0)