Package picard.vcf.processor
Interface VariantAccumulatorExecutor<ACCUMULATOR extends VariantProcessor.Accumulator<RESULT>,RESULT>
- All Known Implementing Classes:
VariantAccumulatorExecutor.MultiThreadedChunkBased
public interface VariantAccumulatorExecutor<ACCUMULATOR extends VariantProcessor.Accumulator<RESULT>,RESULT>
Describes the functionality for an executor that manages the delegation of work to
VariantProcessor.Accumulator
s.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
AVariantAccumulatorExecutor
that breaks down work into chunks described by the providedVariantIteratorProducer
and spreads them over the indicated number of threads. -
Method Summary
Modifier and TypeMethodDescriptionReturns theVariantProcessor.Accumulator
s associated with this executor.void
Blocks until the work is complete.void
start()
Starts the work of the executor, returning immediately.
-
Method Details
-
start
void start()Starts the work of the executor, returning immediately. -
awaitCompletion
Blocks until the work is complete.- Throws:
InterruptedException
-
accumulators
Collection<ACCUMULATOR> accumulators()Returns theVariantProcessor.Accumulator
s associated with this executor.
-