Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 50 for cacheFactory (0.16 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/DefaultInstantiationScheme.java

            this(constructorSelector, classGenerator, defaultServices, injectionAnnotations, cacheFactory.newClassCache());
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  2. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/CacheVisitor.java

     * limitations under the License.
     */
    
    package org.gradle.cache.internal;
    
    import org.gradle.cache.PersistentCache;
    
    /**
     * A visitor to a cache instance.  See {@link CacheFactory#visitCaches(CacheVisitor)}.
     */
    public interface CacheVisitor {
        void visit(PersistentCache cache);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 863 bytes
    - Viewed (0)
  3. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/DefaultInMemoryCacheDecoratorFactory.java

        private final CrossBuildInMemoryCache<String, CacheDetails> caches;
    
        public DefaultInMemoryCacheDecoratorFactory(boolean longLivingProcess, CrossBuildInMemoryCacheFactory cacheFactory) {
            this.longLivingProcess = longLivingProcess;
            caches = cacheFactory.newCache();
        }
    
        @Override
        public CacheDecorator decorator(final int maxEntriesToKeepInMemory, final boolean cacheInMemoryForShortLivedProcesses) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:36 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/properties/bean/DefaultPropertyWalkerTest.groovy

                IGNORED_METHOD_ANNOTATIONS,
                { false },
                cacheFactory
            )
            def propertyHandlers = services.getAll(PropertyAnnotationHandler)
            def typeMetadataStore = new DefaultTypeMetadataStore([], propertyHandlers, [PathSensitive], typeAnnotationMetadataStore, TestPropertyTypeResolver.INSTANCE, cacheFactory, MissingPropertyAnnotationHandler.DO_NOTHING)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:42:35 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/api/internal/project/taskfactory/DefaultTaskClassInfoStore.java

        private final CrossBuildInMemoryCache<Class<?>, TaskClassInfo> classInfos;
    
        public DefaultTaskClassInfoStore(CrossBuildInMemoryCacheFactory cacheFactory) {
            this.classInfos = cacheFactory.newClassCache();
        }
    
        @Override
        public TaskClassInfo getTaskClassInfo(Class<? extends Task> type) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 14:04:47 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/internal/jvm/JavaModuleDetector.java

        private final FileContentCache<Boolean> cache;
        private final FileCollectionFactory fileCollectionFactory;
    
        public JavaModuleDetector(FileContentCacheFactory cacheFactory, FileCollectionFactory fileCollectionFactory) {
            this.cache = cacheFactory.newCache("java-modules", 20000, new ModuleInfoLocator(), new BaseSerializerFactory().getSerializerFor(Boolean.class));
            this.fileCollectionFactory = fileCollectionFactory;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  7. platforms/extensibility/unit-test-fixtures/src/main/java/org/gradle/testfixtures/internal/TestInMemoryCacheFactory.java

    import org.gradle.cache.IndexedCache;
    import org.gradle.cache.IndexedCacheParameters;
    import org.gradle.cache.LockOptions;
    import org.gradle.cache.PersistentCache;
    import org.gradle.cache.internal.CacheFactory;
    import org.gradle.cache.internal.CacheVisitor;
    import org.gradle.internal.Cast;
    import org.gradle.internal.Pair;
    import org.gradle.internal.serialize.Serializer;
    import org.gradle.util.internal.GFileUtils;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 21:54:27 UTC 2024
    - 6K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/DependencyManagementGlobalScopeServices.java

            return NotationParserBuilder
                .toType(ComponentSelector.class)
                .converter(new CrossBuildCachingNotationConverter<>(new ModuleSelectorStringNotationConverter(moduleIdentifierFactory), cacheFactory.newCache()))
                .toComposite();
        }
    
        @Provides
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/annotations/impl/DefaultTypeAnnotationMetadataStore.java

        }
    
        private static CrossBuildInMemoryCache<Class<?>, TypeAnnotationMetadata> initCache(Collection<Class<?>> ignoredSuperTypes, CrossBuildInMemoryCacheFactory cacheFactory) {
            CrossBuildInMemoryCache<Class<?>, TypeAnnotationMetadata> result = cacheFactory.newClassCache();
            for (Class<?> ignoredSuperType : ignoredSuperTypes) {
                result.put(ignoredSuperType, EMPTY_TYPE_ANNOTATION_METADATA);
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 21:54:36 UTC 2024
    - 37.6K bytes
    - Viewed (0)
  10. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/processing/AnnotationProcessorDetector.java

        private final Logger logger;
        private final boolean logStackTraces;
    
        public AnnotationProcessorDetector(FileContentCacheFactory cacheFactory, Logger logger, boolean logStackTraces) {
            this.cache = cacheFactory.newCache("annotation-processors", 20000, new ProcessorServiceLocator(), new ListSerializer<>(AnnotationProcessorDeclarationSerializer.INSTANCE));
            this.logger = logger;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 10.7K bytes
    - Viewed (0)
Back to top