Package org.eclipse.aether.internal.impl
Class DefaultMetadataResolver
java.lang.Object
org.eclipse.aether.internal.impl.DefaultMetadataResolver
- All Implemented Interfaces:
MetadataResolver
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Number of threads to use in parallel for resolving metadata.static final int
-
Constructor Summary
ConstructorDescriptionDefaultMetadataResolver
(RepositoryEventDispatcher repositoryEventDispatcher, UpdateCheckManager updateCheckManager, RepositoryConnectorProvider repositoryConnectorProvider, RemoteRepositoryManager remoteRepositoryManager, SyncContextFactory syncContextFactory, OfflineController offlineController, RemoteRepositoryFilterManager remoteRepositoryFilterManager, PathProcessor pathProcessor) -
Method Summary
Modifier and TypeMethodDescriptionresolveMetadata
(RepositorySystemSession session, Collection<? extends MetadataRequest> requests) Resolves the paths for a collection of metadata.
-
Field Details
-
CONFIG_PROP_THREADS
Number of threads to use in parallel for resolving metadata.- Since:
- 0.9.0.M4
- See Also:
- Sourced from:
RepositorySystemSession.getConfigProperties()
- Value type:
Integer
- Default value:
DEFAULT_THREADS
-
DEFAULT_THREADS
- See Also:
-
-
Constructor Details
-
DefaultMetadataResolver
@Inject public DefaultMetadataResolver(RepositoryEventDispatcher repositoryEventDispatcher, UpdateCheckManager updateCheckManager, RepositoryConnectorProvider repositoryConnectorProvider, RemoteRepositoryManager remoteRepositoryManager, SyncContextFactory syncContextFactory, OfflineController offlineController, RemoteRepositoryFilterManager remoteRepositoryFilterManager, PathProcessor pathProcessor)
-
-
Method Details
-
resolveMetadata
public List<MetadataResult> resolveMetadata(RepositorySystemSession session, Collection<? extends MetadataRequest> requests) Description copied from interface:MetadataResolver
Resolves the paths for a collection of metadata. Metadata will be downloaded to the local repository if necessary, e.g. because it hasn't been cached yet or the cache is deemed outdated.- Specified by:
resolveMetadata
in interfaceMetadataResolver
- Parameters:
session
- The repository session, must not benull
.requests
- The resolution requests, must not benull
.- Returns:
- The resolution results (in request order), never
null
. - See Also:
-