Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 78 for cached (3.24 sec)

  1. 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)
  2. 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)
  3. maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

            }
    
            ResolutionGroup cached = cache.get(
                    artifact,
                    request.isResolveManagedVersions(),
                    request.getLocalRepository(),
                    request.getRemoteRepositories());
    
            if (cached != null
                    // if the POM has no file, we cached a missing artifact, only return the cached data if no update forced
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Sep 22 09:07:17 GMT 2023
    - 30.3K bytes
    - Viewed (0)
  4. maven-core/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 Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/project/DefaultProjectRealmCache.java

                ClassRealm realm = record.getRealm();
                try {
                    realm.getWorld().disposeRealm(realm.getId());
                } catch (NoSuchRealmException e) {
                    // ignore
                }
            }
            cache.clear();
        }
    
        public void register(MavenProject project, Key key, CacheRecord record) {
            // default cache does not track record usage
        }
    
    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)
  6. maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java

            if (lookup == null) {
                return customLifecycles != null ? customLifecycles : new HashMap<>();
            }
    
            // Lifecycles cannot be cached as extensions might add custom lifecycles later in the execution.
            try {
                Map<String, Lifecycle> lifecycles = new HashMap<>(lookup.lookupMap(Lifecycle.class));
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6K bytes
    - Viewed (0)
  7. 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)
  8. maven-core/src/main/java/org/apache/maven/artifact/repository/RepositoryCache.java

        /**
         * Puts the specified data into the cache. <strong>Warning:</strong> The cache will directly save the provided
         * reference. If the cached data is mutable, i.e. could be modified after being put into the cache, the caller is
         * responsible for creating a copy of the original data and store the copy in the cache.
         *
         * @param request The repository request from which this cache was retrieved, 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)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultSuperPomProvider.java

    import org.apache.maven.api.services.xml.XmlReaderRequest;
    
    @Named
    @Singleton
    public class DefaultSuperPomProvider implements SuperPomProvider {
    
        private final ModelProcessor modelProcessor;
    
        /**
         * The cached super POM, lazily created.
         */
        private static final Map<String, Model> SUPER_MODELS = new ConcurrentHashMap<>();
    
        @Inject
        public DefaultSuperPomProvider(ModelProcessor modelProcessor) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/plugin/prefix/internal/DefaultPluginPrefixResolver.java

                    requests.add(new MetadataRequest(metadata, repository, REPOSITORY_CONTEXT).setTrace(trace));
                }
            }
    
            // initial try, use locally cached metadata
    
            List<MetadataResult> results = repositorySystem.resolveMetadata(request.getRepositorySession(), requests);
            requests.clear();
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Sep 22 09:07:17 GMT 2023
    - 10.4K bytes
    - Viewed (0)
Back to top