Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for setCache (0.15 sec)

  1. maven-core/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java

            session.setSession(defaultSessionFactory.newSession(session));
    
            new DefaultSession(session, null, null, null, null, null);
    
            repoSession.setCache(new DefaultRepositoryCache());
            repoSession.setLocalRepositoryManager(new LegacyLocalRepositoryManager(localRepo));
            request.setRepositorySession(repoSession);
        }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultModelCache.java

        public static ModelCache newInstance(RepositorySystemSession session, boolean anew) {
            ConcurrentHashMap<Object, Supplier<?>> cache;
            RepositoryCache repositoryCache = session != null ? session.getCache() : null;
            if (repositoryCache == null) {
                return new DefaultModelCache(new ConcurrentHashMap<>());
            } else {
                if (anew) {
                    cache = new ConcurrentHashMap<>();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 6.8K bytes
    - Viewed (0)
Back to top