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 toVariantProcessor.Accumulators.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classVariantAccumulatorExecutor.MultiThreadedChunkBased<A extends VariantProcessor.Accumulator<R>,R>AVariantAccumulatorExecutorthat breaks down work into chunks described by the providedVariantIteratorProducerand spreads them over the indicated number of threads.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<ACCUMULATOR>accumulators()Returns theVariantProcessor.Accumulators associated with this executor.voidawaitCompletion()Blocks until the work is complete.voidstart()Starts the work of the executor, returning immediately.
-
-
-
Method Detail
-
start
void start()
Starts the work of the executor, returning immediately.
-
awaitCompletion
void awaitCompletion() throws InterruptedExceptionBlocks until the work is complete.- Throws:
InterruptedException
-
accumulators
Collection<ACCUMULATOR> accumulators()
Returns theVariantProcessor.Accumulators associated with this executor.
-
-