- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 63 for cache2 (0.16 sec)
-
maven-core/src/main/java/org/apache/maven/project/ProjectRealmCache.java
/** * Registers the specified cache record for usage with the given project. Integrators can use the information * collected from this method in combination with a custom cache implementation to dispose unused records from the * cache. * * @param project The project that employs the plugin realm, must not be {@code null}. * @param record The cache record being used for the project, must not be {@code null}.
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 2.6K bytes - Viewed (0) -
maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java
VersionRange cached = CACHE_VERSION.get(version); if (cached == null) { List<Restriction> restrictions = Collections.emptyList(); cached = new VersionRange(new DefaultArtifactVersion(version), restrictions); CACHE_VERSION.put(version, cached); } return cached; } /**
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Feb 28 07:40:37 GMT 2024 - 18.9K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java
result.getArtifacts(), result.getManagedVersions(), result.getResolutionRepositories()); cache.put(cacheKey, cacheRecord); } public void flush() { cache.clear(); }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Jun 15 14:24:56 GMT 2023 - 11.8K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java
return importModel; } private static <T> T cache( ModelCache cache, String groupId, String artifactId, String version, String tag, Callable<T> supplier) { Supplier<T> s = asSupplier(supplier); if (cache == null) { return s.get(); } else { return cache.computeIfAbsent(groupId, artifactId, version, tag, s); } }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri May 03 08:48:38 GMT 2024 - 61.5K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/project/DefaultProjectRealmCache.java
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Dec 26 15:12:32 GMT 2022 - 3.7K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/exception/DefaultExceptionHandlerTest.java
Exception cause2 = new RuntimeException("loop") { @Override public synchronized Throwable getCause() { return causeRef.get(); } }; causeRef.set(cause2); Plugin plugin = new Plugin(); Exception cause = new PluginContainerException(plugin, null, null, cause2); cause2.initCause(cause);
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 5.6K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java
/** * A container for data that is specific to a session. * All components may use this storage to associate arbitrary data with a session. * <p> * Unlike a cache, this session data is not subject to purging. For this same reason, session data should also not be * abused as a cache (i.e. for storing values that can be re-calculated) to avoid memory exhaustion. * <p> * <strong>Note:</strong> Actual implementations must be thread-safe. *
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Feb 28 23:31:09 GMT 2024 - 4.7K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/PathModularizationCache.java
/** * Creates an initially empty cache. */ PathModularizationCache() { moduleInfo = new HashMap<>(); pathTypes = new HashMap<>(); } /** * Gets module information for the given JAR file or output directory. * Module descriptors are read when first requested, then cached. */ PathModularization getModuleInfo(Path path) throws IOException {
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/internal/impl/model/DefaultModelInterpolator.java
List<? extends InterpolationPostProcessor> postProcessors, ModelBuilderRequest request, ModelProblemCollector problems) { Map<String, String> cache = new HashMap<>(); StringSearchInterpolator interpolator = new StringSearchInterpolator(); interpolator.setCacheAnswers(true); for (ValueSource vs : valueSources) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 20K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginRealmCache.java
if (cache.containsKey(key)) { throw new IllegalStateException("Duplicate plugin realm for plugin " + key); } CacheRecord record = new CacheRecord(pluginRealm, pluginArtifacts); cache.put(key, record); return record; } public void flush() { for (CacheRecord record : cache.values()) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Dec 26 15:12:32 GMT 2022 - 7.4K bytes - Viewed (0)