Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getCache (0.06 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. 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)
  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)
Back to top