Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for BuildCacheServiceFactory (0.49 sec)

  1. subprojects/core/src/test/groovy/org/gradle/caching/local/internal/DirectoryBuildCacheServiceFactoryTest.groovy

            0 * _
        }
    
        private class NoopBuildCacheDescriber implements BuildCacheServiceFactory.Describer {
    
            @Override
            BuildCacheServiceFactory.Describer type(String type) { this }
    
            @Override
            BuildCacheServiceFactory.Describer config(String name, String value) { this }
    
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 18:35:55 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/caching/internal/services/AbstractBuildCacheControllerFactory.java

            InstanceGenerator instantiator
        ) {
            Class<? extends BuildCacheServiceFactory<C>> castFactoryType = Cast.uncheckedNonnullCast(
                buildCacheConfiguration.getBuildCacheServiceFactoryType(configuration.getClass())
            );
    
            BuildCacheServiceFactory<C> factory = instantiator.newInstance(castFactoryType);
            Describer describer = new Describer();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 17:08:26 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  3. platforms/core-execution/build-cache-http/src/integTest/groovy/org/gradle/caching/http/internal/HttpBuildCacheServiceTest.groovy

                }
            })
        }
    
        private class NoopBuildCacheDescriber implements BuildCacheServiceFactory.Describer {
    
            @Override
            BuildCacheServiceFactory.Describer type(String type) { this }
    
            @Override
            BuildCacheServiceFactory.Describer config(String name, String value) { this }
    
        }
    
        static class Writer implements BuildCacheEntryWriter {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 16:15:24 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/caching/configuration/internal/BuildCacheConfigurationInternal.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.caching.configuration.internal;
    
    import org.gradle.caching.BuildCacheServiceFactory;
    import org.gradle.caching.configuration.BuildCache;
    import org.gradle.caching.configuration.BuildCacheConfiguration;
    import org.gradle.caching.local.DirectoryBuildCache;
    import org.gradle.internal.service.scopes.Scope;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/caching/internal/controller/DefaultBuildCacheControllerFactoryTest.groovy

    import org.gradle.caching.BuildCacheEntryWriter
    import org.gradle.caching.BuildCacheException
    import org.gradle.caching.BuildCacheKey
    import org.gradle.caching.BuildCacheService
    import org.gradle.caching.BuildCacheServiceFactory
    import org.gradle.caching.configuration.AbstractBuildCache
    import org.gradle.caching.configuration.internal.DefaultBuildCacheConfiguration
    import org.gradle.caching.configuration.internal.DefaultBuildCacheServiceRegistration
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 22:46:34 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/caching/local/internal/DirectoryBuildCacheServiceFactory.java

    import org.gradle.cache.internal.SingleDepthFilesFinder;
    import org.gradle.cache.scopes.GlobalScopedCacheBuilderFactory;
    import org.gradle.caching.BuildCacheService;
    import org.gradle.caching.BuildCacheServiceFactory;
    import org.gradle.caching.local.DirectoryBuildCache;
    import org.gradle.internal.file.FileAccessTimeJournal;
    import org.gradle.internal.file.FileAccessTracker;
    import org.gradle.internal.file.PathToFileResolver;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 18:35:55 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  7. platforms/core-execution/build-cache-spi/src/integTest/groovy/org/gradle/caching/BuildCacheServiceExtensibilityIntegrationTest.groovy

            """
                class CustomBuildCache extends AbstractBuildCache {
                    String shouldFail
                }
    
                class CustomBuildCacheServiceFactory implements BuildCacheServiceFactory<CustomBuildCache> {
                    CustomBuildCacheService createBuildCacheService(CustomBuildCache configuration, Describer describer) {
                        return new CustomBuildCacheService()
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 16:09:36 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedTaskExecutionErrorHandlingIntegrationTest.groovy

            settingsFile << """
                class FailingBuildCache extends AbstractBuildCache {
                    String shouldFail
                }
    
                class FailingBuildCacheServiceFactory implements BuildCacheServiceFactory<FailingBuildCache> {
                    FailingBuildCacheService createBuildCacheService(FailingBuildCache configuration, Describer describer) {
                        return new FailingBuildCacheService(configuration.shouldFail)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:22 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  9. platforms/core-execution/build-cache-spi/src/main/java/org/gradle/caching/BuildCacheService.java

     * </p>
     * <p>
     *     Every build cache implementation should define a {@code org.gradle.caching.configuration.BuildCache} configuration and {@code BuildCacheServiceFactory} factory.
     * </p>
     *
     * @since 3.5
     */
    public interface BuildCacheService extends Closeable {
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 09 12:59:40 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. platforms/core-execution/build-cache/src/integTest/groovy/org/gradle/caching/internal/BuildCacheBuildOperationsIntegrationTest.groovy

        void register(String className, String loadBody, String storeBody) {
            settingsFile << """
                class ${className} extends AbstractBuildCache {}
                class ${className}ServiceFactory implements BuildCacheServiceFactory<${className}> {
                    ${className}Service createBuildCacheService(${className} configuration, Describer describer) {
                        return new ${className}Service(configuration)
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 08:51:14 UTC 2024
    - 14.9K bytes
    - Viewed (0)
Back to top