Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 59 for cache (0.16 sec)

  1. maven-core/src/main/java/org/apache/maven/plugin/ExtensionRealmCache.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 Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.9K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/plugin/PluginRealmCache.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 Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultDependencyResolverResult.java

         *
         * @param moduleName name of the module to search
         * @param cache cache of module information about each dependency
         */
        private boolean containsModule(String moduleName, PathModularizationCache cache) throws IOException {
            for (Path path : dispatchedPaths.getOrDefault(JavaPathType.MODULES, Collections.emptyList())) {
                if (cache.getModuleInfo(path).containsModule(moduleName)) {
                    return true;
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/plugin/PluginDescriptorCache.java

     * prior notice.
     *
     * @since 3.0
     */
    public interface PluginDescriptorCache {
    
        /**
         * A cache key.
         */
        interface Key {
            // marker interface for cache keys
        }
    
        @FunctionalInterface
        interface PluginDescriptorSupplier {
            PluginDescriptor load()
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  5. 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 Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/plugin/version/internal/DefaultPluginVersionResolver.java

            PluginVersionResult result = resolveFromProject(request);
    
            if (result == null) {
                ConcurrentMap<Key, PluginVersionResult> cache = getCache(request);
                Key key = getKey(request);
                result = cache.get(key);
    
                if (result == null) {
                    result = resolveFromRepository(request);
    
                    logger.debug(
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Sep 22 09:07:17 GMT 2023
    - 15.7K bytes
    - Viewed (0)
  7. 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 Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Sep 22 09:07:17 GMT 2023
    - 30.3K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultDependencyResolver.java

                    InternalSession.from(nonNull(request, "request").getSession());
            Predicate<PathType> filter = request.getPathTypeFilter();
            PathModularizationCache cache = new PathModularizationCache(); // TODO: should be project-wide cache.
            DependencyCollectorResult collectorResult =
                    session.getService(DependencyCollector.class).collect(request);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/plugin/DefaultExtensionRealmCache.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 extension usage
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 4.7K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/plugin/PluginArtifactsCache.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 Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.1K bytes
    - Viewed (0)
Back to top