Class BfDependencyCollector.ParallelDescriptorResolver
java.lang.Object
org.eclipse.aether.internal.impl.collect.bf.BfDependencyCollector.ParallelDescriptorResolver
- All Implemented Interfaces:
Closeable,AutoCloseable
- Enclosing class:
BfDependencyCollector
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ExecutorServiceprivate final Map<String, Future<BfDependencyCollector.DescriptorResolutionResult>> Artifact ID -> Future of DescriptorResolutionResult -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) voidcacheVersionRangeDescriptor(Artifact artifact, BfDependencyCollector.DescriptorResolutionResult resolutionResult) voidclose()(package private) Future<BfDependencyCollector.DescriptorResolutionResult> (package private) voidresolveDescriptors(Artifact artifact, Callable<BfDependencyCollector.DescriptorResolutionResult> callable)
-
Field Details
-
executorService
-
results
Artifact ID -> Future of DescriptorResolutionResult
-
-
Constructor Details
-
ParallelDescriptorResolver
ParallelDescriptorResolver(int threads)
-
-
Method Details
-
resolveDescriptors
void resolveDescriptors(Artifact artifact, Callable<BfDependencyCollector.DescriptorResolutionResult> callable) -
cacheVersionRangeDescriptor
void cacheVersionRangeDescriptor(Artifact artifact, BfDependencyCollector.DescriptorResolutionResult resolutionResult) -
find
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-