Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for SetCache (0.1 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. test-site/activator-launch-1.3.2.jar

    public final RetrieveReport retrieve(org.apache.ivy.core.module.id.ModuleRevisionId, RetrieveOptions); private String[] getConfs(org.apache.ivy.core.module.id.ModuleRevisionId, RetrieveOptions); private org.apache.ivy.core.cache.ResolutionCacheManag getCache(); private java.util.Map determineArtifactsTo(org.apache.ivy.core.module.id.ModuleRevisionId, String, RetrieveOptions); } org/apache/ivy/core/retrieve/RetrieveOptions.class package org.apache.ivy.core.retrieve; public final synchronized class RetrieveOptions...
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Mon Apr 20 08:41:37 UTC 2015
    - 1.2M bytes
    - Viewed (0)
Back to top