- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for __cache (0.47 sec)
-
maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultModelCache.java
} else { if (anew) { cache = new ConcurrentHashMap<>(); repositoryCache.put(session, KEY, cache); } else { cache = (ConcurrentHashMap<Object, Supplier<?>>) repositoryCache.computeIfAbsent(session, KEY, ConcurrentHashMap::new); } return new DefaultModelCache(cache); } }
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) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/PathModularizationCache.java
import java.util.Set; import java.util.function.Predicate; import org.apache.maven.api.JavaPathType; import org.apache.maven.api.PathType; /** * Cache of {@link PathModularization} instances computed for given {@link Path} elements. * The cache is used for avoiding the need to reopen the same files many times when the * same dependency is used for different scope. For example a path used for compilation
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 5.2K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/api/services/model/ModelCache.java
import org.apache.maven.api.services.Source; /** * Caches auxiliary data used during model building like already processed raw/effective models. The data in the cache * is meant for exclusive consumption by the model builder and is opaque to the cache implementation. The cache key is * formed by a combination of group id, artifact id, version and tag. The first three components generally refer to the
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 1.6K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultProfileInjector.java
/** * Handles profile injection into the model. * */ @Named @Singleton public class DefaultProfileInjector implements ProfileInjector { private static final Map<Model, Map<List<Profile>, Model>> CACHE = Collections.synchronizedMap(new WeakHashMap<>()); // In order for the weak hash map to work correctly, we must not hold any reference to
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 9.5K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/session/scope/internal/SessionScope.java
+ "a org.eclipse.sisu.Typed or javax.enterprise.inject.Typed annotation"); } } /** * A provider wrapping an existing provider with a cache * @param <T> the provided type */ protected static class CachingProvider<T> implements Provider<T> { private final Provider<T> provider; private volatile T value;
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Tue Apr 23 12:52:20 GMT 2024 - 6.8K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelCache.java
import java.util.function.Supplier; /** * Caches auxiliary data used during model building like already processed raw/effective models. The data in the cache * is meant for exclusive consumption by the model builder and is opaque to the cache implementation. The cache key is * formed by a combination of group id, artifact id, version and tag. The first three components generally refer to the
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 15:10:38 GMT 2024 - 1.6K bytes - Viewed (0)