Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 157 for Cacheable (0.14 sec)

  1. platforms/extensibility/plugin-development/src/main/java/org/gradle/plugin/devel/tasks/ValidatePlugins.java

         */
        @Input
        public abstract Property<Boolean> getFailOnWarning();
    
        /**
         * Enable the stricter validation for cacheable tasks for all tasks.
         */
        @Input
        public abstract Property<Boolean> getEnableStricterValidation();
    
        /**
         * Returns the output file to store the report in.
         */
        @OutputFile
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 04 07:42:50 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/cluster_cache.go

    	}
    
    	// For now, this matches EndpointBuilder's DependentConfigs. No need to duplicate them.
    
    	return configs
    }
    
    func (t *clusterCache) Cacheable() bool {
    	return true
    }
    
    // cacheStats keeps track of cache usage stats.
    type cacheStats struct {
    	hits, miss int
    }
    
    func (c cacheStats) empty() bool {
    	return c.hits == 0 && c.miss == 0
    }
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 19:09:43 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  3. platforms/jvm/jacoco/src/main/java/org/gradle/testing/jacoco/plugins/JacocoPluginExtension.java

                if (hasFileOutput.get()) {
                    // Delete the coverage file before the task executes, so we don't append to a leftover file from the last execution.
                    // This makes the task cacheable even if multiple JVMs write to same destination file, e.g. when executing tests in parallel.
                    // The JaCoCo agent supports writing in parallel to the same file, see https://github.com/jacoco/jacoco/pull/52.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 16:03:36 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  4. internal/config/cache/cache.go

    }
    
    var configLock sync.RWMutex
    
    // Enabled - indicates if cache is enabled or not
    func (c *Config) Enabled() bool {
    	return c.Enable && c.Endpoint != ""
    }
    
    // MatchesSize verifies if input 'size' falls under cacheable threshold
    func (c Config) MatchesSize(size int64) bool {
    	configLock.RLock()
    	defer configLock.RUnlock()
    
    	return c.Enable && c.BlockSize > 0 && size <= c.BlockSize
    }
    
    // Update updates new cache frequency
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. subprojects/diagnostics/src/main/java/org/gradle/api/reporting/dependents/DependentComponentsReport.java

    import static org.gradle.api.reporting.dependents.internal.DependentComponentsUtils.getAllTestSuites;
    
    /**
     * Displays dependent components.
     */
    @Deprecated
    @DisableCachingByDefault(because = "Produces only non-cacheable console output")
    public abstract class DependentComponentsReport extends DefaultTask {
    
        private boolean showNonBuildable;
        private boolean showTestSuites;
        private List<String> components;
    
        {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/api/internal/tasks/execution/TaskExecution.java

            Class<?> taskType = GeneratedSubclasses.unpackType(task);
            // TODO This should probably use the task class info store
            boolean cacheable = taskType.isAnnotationPresent(CacheableTask.class);
            TypeValidationContext typeValidationContext = validationContext.forType(taskType, cacheable);
            context.getTaskProperties().validateType(typeValidationContext);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  7. platforms/software/publish/src/main/java/org/gradle/api/tasks/Upload.java

     */
    @Deprecated // TODO:Finalize Upload Removal - Issue #21439
    @DisableCachingByDefault(because = "Produces no cacheable output")
    public abstract class Upload extends ConventionTask {
        /**
         * Do not use this method, it is for internal use only.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 22:15:44 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/api/internal/tasks/DefaultTaskOutputs.java

            // Not wrapped in TaskMutator to allow calls during task execution
            storeInCache = false;
        }
    
        @Override
        public void cacheIf(final Spec<? super Task> spec) {
            cacheIf("Task outputs cacheable", spec);
        }
    
        @Override
        public void cacheIf(final String cachingEnabledReason, final Spec<? super Task> spec) {
            taskMutator.mutate("TaskOutputs.cacheIf(Spec)", () -> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 04 09:46:14 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  9. platforms/native/language-native/src/main/java/org/gradle/language/rc/tasks/WindowsResourceCompile.java

    import java.util.LinkedHashMap;
    import java.util.Map;
    import java.util.concurrent.Callable;
    
    /**
     * Compiles Windows Resource scripts into .res files.
     */
    @Incubating
    @DisableCachingByDefault(because = "Not made cacheable, yet")
    public abstract class WindowsResourceCompile extends DefaultTask {
    
        private final Property<NativePlatform> targetPlatform;
        private final Property<NativeToolChain> toolChain;
        private File outputDir;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  10. platforms/jvm/testing-jvm/src/main/java/org/gradle/api/tasks/testing/TestReport.java

    import static org.gradle.util.internal.CollectionUtils.collect;
    
    /**
     * Generates an HTML test report from the results of one or more {@link Test} tasks.
     */
    @DisableCachingByDefault(because = "Not made cacheable, yet")
    public abstract class TestReport extends DefaultTask {
        private final DirectoryProperty destinationDir = getObjectFactory().directoryProperty();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 08:40:36 UTC 2024
    - 8.8K bytes
    - Viewed (0)
Back to top