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.Accumulators.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classAVariantAccumulatorExecutorthat breaks down work into chunks described by the providedVariantIteratorProducerand spreads them over the indicated number of threads. -
Method Summary
Modifier and TypeMethodDescriptionReturns theVariantProcessor.Accumulators associated with this executor.voidBlocks until the work is complete.voidstart()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.Accumulators associated with this executor.
-