Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 157 for Cacheable (0.12 sec)

  1. platforms/jvm/toolchains-jvm/src/main/java/org/gradle/jvm/toolchain/internal/task/ShowToolchainsTask.java

    import static org.gradle.internal.logging.text.StyledTextOutput.Style.Identifier;
    import static org.gradle.internal.logging.text.StyledTextOutput.Style.Normal;
    
    @UntrackedTask(because = "Produces only non-cacheable console output")
    public abstract class ShowToolchainsTask extends DefaultTask {
    
        private static final Comparator<JvmToolchainMetadata> TOOLCHAIN_COMPARATOR = Comparator
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 14:04:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.cache-miss-monitor.gradle.kts

    // https://youtrack.jetbrains.com/issue/KT-49915
    fun Task.isKotlinJsIrLink() = this.javaClass.simpleName.startsWith("KotlinJsIrLink")
    
    fun isMonitoredAsciidoctorTask() = false // No asciidoctor tasks are cacheable for now
    
    fun Project.isExpectedAsciidoctorCacheMiss() =
    // Expected cache-miss for asciidoctor task:
    // 1. CompileAll is the seed build for docs:distDocs
    // 2. BuildDistributions is the seed build for other asciidoctor tasks
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 07 05:49:29 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. build-logic/performance-testing/src/main/groovy/gradlebuild/performance/generator/tasks/MonolithicNativeProjectGeneratorTask.groovy

     * in a way that doesn't allow us to reuse the compilation steps (we don't do this now).
     */
    @DisableCachingByDefault(because = "Not made cacheable, yet")
    class MonolithicNativeProjectGeneratorTask extends AbstractProjectGeneratorTask {
    
        def generateRootProject() {
            super.generateRootProject()
    
            generatePrebuiltLibrarySource()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jul 07 13:12:26 UTC 2021
    - 3.8K bytes
    - Viewed (0)
  4. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/tasks/LinkSharedLibrary.java

    import java.io.File;
    import java.util.concurrent.Callable;
    
    /**
     * Links a binary shared library from object files and imported libraries.
     */
    @DisableCachingByDefault(because = "Not made cacheable, yet")
    public abstract class LinkSharedLibrary extends AbstractLinkTask {
        private final Property<String> installName = getProject().getObjects().property(String.class);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  5. subprojects/diagnostics/src/main/java/org/gradle/api/reporting/model/ModelReport.java

     * An instance of this type is used when you execute the {@code model} task from the command-line.
     */
    @Deprecated
    @DisableCachingByDefault(because = "Produces only non-cacheable console output")
    public abstract class ModelReport extends DefaultTask {
    
        /**
         * The report format.
         * <ul>
         *     <li><i>full</i> (default value) will show details about types, rules and creators</li>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 24 23:13:41 UTC 2022
    - 3.8K bytes
    - Viewed (0)
  6. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/caching/impl/DefaultCachingStateFactory.java

                return CachingState.enabled(new DefaultBuildCacheKey(cacheKey), beforeExecutionState);
            } else {
                cachingDisabledReasons.forEach(reason ->
                    logger.warn("Non-cacheable because {} [{}]", reason.getMessage(), reason.getCategory()));
                return CachingState.disabled(cachingDisabledReasons, new DefaultBuildCacheKey(cacheKey), beforeExecutionState);
            }
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 16:15:24 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  7. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/tasks/PrefixHeaderFileGenerateTask.java

    import javax.inject.Inject;
    import java.io.File;
    
    /**
     * Generates a prefix header file from a list of headers to be precompiled.
     */
    @Incubating
    @DisableCachingByDefault(because = "Not made cacheable, yet")
    public abstract class PrefixHeaderFileGenerateTask extends DefaultTask {
        private String header;
        private File prefixHeaderFile;
        private final WorkerExecutor workerExecutor;
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  8. docs/features/caching.md

        while (urlIterator.hasNext()) {
          if (urlIterator.next().startsWith("https://www.google.com/")) {
            urlIterator.remove()
          }
        }
    ```
    
    ### Troubleshooting
    
    1. Valid cacheable responses are not being cached
    
    Make sure you are reading responses fully as unless they are read fully, cancelled or stalled Responses will not be cached.
    
    ### Overriding normal cache behaviour
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  9. build-logic/profiling/src/main/kotlin/gradlebuild/jmh/tasks/JmhHTMLReport.kt

    import org.gradle.api.tasks.PathSensitive
    import org.gradle.api.tasks.PathSensitivity
    import org.gradle.api.tasks.TaskAction
    import org.gradle.work.DisableCachingByDefault
    
    
    @DisableCachingByDefault(because = "Not made cacheable, yet")
    abstract class JmhHTMLReport : DefaultTask() {
    
        @get:InputFile
        @get:PathSensitive(PathSensitivity.NAME_ONLY)
        abstract val csv: RegularFileProperty
    
        @get:OutputDirectory
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jul 07 13:12:26 UTC 2021
    - 4.1K bytes
    - Viewed (0)
  10. pkg/credentialprovider/provider.go

    	Provider DockerConfigProvider
    	Lifetime time.Duration
    
    	// ShouldCache is an optional function that returns true if the specific config should be cached.
    	// If nil, all configs are treated as cacheable.
    	ShouldCache func(DockerConfig) bool
    
    	// cache fields
    	cacheDockerConfig DockerConfig
    	expiration        time.Time
    	mu                sync.Mutex
    }
    
    // Enabled implements dockerConfigProvider
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 02 00:08:54 UTC 2021
    - 3.3K bytes
    - Viewed (0)
Back to top