Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 56 for CacheKey (0.46 sec)

  1. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheRepository.kt

        private val fileAccessTimeJournal: FileAccessTimeJournal,
        private val fileSystem: FileSystem
    ) : Stoppable {
        fun forKey(cacheKey: String): ConfigurationCacheStateStore {
            return StoreImpl(cache.baseDirFor(cacheKey))
        }
    
        abstract class Layout {
            abstract fun fileForRead(stateType: StateType): ConfigurationCacheStateFile
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  2. platforms/core-execution/build-cache-example-client/src/main/java/org/gradle/caching/example/ExampleBuildCacheClient.java

            buildCacheController.store(
                cacheKey,
                sandboxEntity,
                ImmutableMap.of("output", producedOutputSnapshot),
                Duration.ofSeconds(10));
    
            // Load the entity from the cache
            BuildCacheLoadResult loadResult = buildCacheController.load(cacheKey, targetEntity)
                .orElseThrow(() -> new RuntimeException("Should have been a hit"));
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 19:35:22 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  3. platforms/core-execution/build-cache/src/main/java/org/gradle/caching/internal/controller/BuildCacheController.java

     */
    @ServiceScope(Scope.Gradle.class)
    public interface BuildCacheController extends Closeable {
    
        boolean isEnabled();
    
        Optional<BuildCacheLoadResult> load(BuildCacheKey cacheKey, CacheableEntity cacheableEntity);
    
        void store(BuildCacheKey cacheKey, CacheableEntity entity, Map<String, FileSystemSnapshot> snapshots, Duration executionTime);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 23:08:20 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. platforms/core-execution/build-cache/src/main/java/org/gradle/caching/internal/controller/NoOpBuildCacheController.java

        public boolean isEnabled() {
            return false;
        }
    
        @Override
        public Optional<BuildCacheLoadResult> load(BuildCacheKey cacheKey, CacheableEntity cacheableEntity) {
            return Optional.empty();
        }
    
        @Override
        public void store(BuildCacheKey cacheKey, CacheableEntity entity, Map<String, FileSystemSnapshot> snapshots, Duration executionTime) {
    
        }
    
        @Override
        public void close() {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 16:15:26 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. pkg/wasm/cache.go

    		ce.resourceVersionByResource[key.resourceName] = key.resourceVersion
    	}
    	return needChecksumUpdate
    }
    
    // addEntry adds a wasmModule to cache with cacheKey, writes the module to the local file system,
    // and returns the created entry.
    func (c *LocalFileCache) addEntry(key cacheKey, wasmModule []byte) (*cacheEntry, error) {
    	c.mux.Lock()
    	defer c.mux.Unlock()
    	needChecksumUpdate := c.updateChecksum(key)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/caching/internal/controller/impl/LifecycleAwareBuildCacheControllerFactory.java

            public Optional<BuildCacheLoadResult> load(BuildCacheKey cacheKey, CacheableEntity cacheableEntity) {
                return getDelegate().load(cacheKey, cacheableEntity);
            }
    
            @Override
            public void store(BuildCacheKey cacheKey, CacheableEntity entity, Map<String, FileSystemSnapshot> snapshots, Duration executionTime) {
                getDelegate().store(cacheKey, entity, snapshots, executionTime);
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 23:28:13 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  7. pkg/scheduler/util/assumecache/assume_cache.go

    	if err != nil {
    		// This could be expected if object got deleted
    		c.logger.V(5).Info("Restore object", "description", c.description, "cacheKey", objName, "err", err)
    	} else {
    		objInfo.latestObj = objInfo.apiObj
    		c.logger.V(4).Info("Restored object", "description", c.description, "cacheKey", objName)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

                    recordArtifacts = pluginArtifactsCache.put(cacheKey, artifacts);
                } catch (PluginResolutionException e) {
                    pluginArtifactsCache.put(cacheKey, e);
                    pluginArtifactsCache.register(project, cacheKey, recordArtifacts);
                    throw new PluginManagerException(plugin, e.getMessage(), e);
                }
            }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  9. releasenotes/notes/wasm-cache-with-tag-stripped-url.yaml

    apiVersion: release-notes/v2
    kind: feature
    area: extensibility
    issue: []
    releaseNotes:
      - |
        **Improved** Use tag-stripped URL + checksum as a Wasm module cachekey, and the tagged URL is separately cached. 
        This may increase the chance of cache hit (e.g., trying to find the same image with both of the tagged and digest URLs.)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 23 08:37:23 UTC 2024
    - 402 bytes
    - Viewed (0)
  10. maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java

            VersionResult result = new VersionResult(request);
    
            Key cacheKey = null;
            RepositoryCache cache = session.getCache();
            if (cache != null && !ConfigUtils.getBoolean(session, false, "aether.versionResolver.noCache")) {
                cacheKey = new Key(session, request);
    
                Object obj = cache.get(session, cacheKey);
                if (obj instanceof Record) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 20.2K bytes
    - Viewed (0)
Back to top