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 ExecutorService
private final Map
<String, Future<BfDependencyCollector.DescriptorResolutionResult>> Artifact ID -> Future of DescriptorResolutionResult -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void
cacheVersionRangeDescriptor
(Artifact artifact, BfDependencyCollector.DescriptorResolutionResult resolutionResult) void
close()
(package private) Future
<BfDependencyCollector.DescriptorResolutionResult> (package private) void
resolveDescriptors
(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:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-