Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for GetCache (0.08 sec)

  1. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelCache.java

        @SuppressWarnings("unchecked")
        public static ModelCache newInstance(RepositorySystemSession session) {
            ConcurrentHashMap<Object, Supplier<?>> cache;
            RepositoryCache repositoryCache = session.getCache();
            if (repositoryCache == null) {
                cache = new ConcurrentHashMap<>();
            } else {
                cache = (ConcurrentHashMap<Object, Supplier<?>>)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java

            String version = artifact.getVersion();
    
            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);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  3. cmd/metrics-v3-types.go

    	mg.descriptorMap = make(map[MetricName]MetricDescriptor, len(mg.Descriptors))
    	for _, desc := range mg.Descriptors {
    		mg.descriptorMap[desc.Name] = desc
    	}
    }
    
    // SetCache is a helper to initialize MetricsGroup. It sets the cache object.
    func (mg *MetricsGroup) SetCache(c *metricsCache) {
    	mg.cache = c
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 30 22:28:46 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionRequest.java

        }
    
        //
        // Used by Tycho and will break users and force them to upgrade to Maven 3.1 so we should really leave
        // this here, possibly indefinitely.
        //
        public ArtifactResolutionRequest setCache(RepositoryCache cache) {
            return this;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  5. cmd/metrics-v3.go

    		if !strings.HasPrefix(string(mg.CollectorPath), clusterBasePath) {
    			mg.AddExtraLabels(
    				serverName, globalLocalNodeName,
    				// poolIndex, strconv.Itoa(globalLocalPoolIdx),
    			)
    		}
    		mg.SetCache(metricsCache)
    		if mg.IsBucketMetricsGroup() {
    			bucketMGMap[mg.CollectorPath] = mg
    		} else {
    			mgMap[mg.CollectorPath] = mg
    		}
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 02 00:55:27 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

            SessionBuilder sessionBuilder = supplier.get();
            sessionBuilder.setArtifactTypeRegistry(new TypeRegistryAdapter(typeRegistry)); // dynamic
            sessionBuilder.setCache(request.getRepositoryCache());
    
            // this map is read ONLY to get config from (profiles + env + system + user)
            Map<String, String> mergedProps = createMergedProperties(request);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  7. docs/changelogs/changelog_2x.md

        OkHttp 2 the built-in disk cache is the only supported response cache.
    
     *  **HttpResponseCache has been renamed to Cache.** Install it with
        `OkHttpClient.setCache(...)` instead of `OkHttpClient.setResponseCache(...)`.
    
     *  **OkAuthenticator has been replaced with Authenticator.** This new
        authenticator has access to the full incoming response and can respond with
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 26.6K bytes
    - Viewed (0)
Back to top