Package io.deephaven.engine.updategraph
Interface OperationInitializer
- All Known Implementing Classes:
ForkJoinPoolOperationInitializer,OperationInitializationThreadPool,PoisonedOperationInitializer
public interface OperationInitializer
Provides guidance for initialization operations on how they can parallelize.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether the current thread can parallelize operations using this OperationInitialization.intNumber of threads that are potentially available.Future<?>Submits a task to run in this thread pool.
-
Field Details
-
NON_PARALLELIZABLE
-
-
Method Details
-
canParallelize
boolean canParallelize()Whether the current thread can parallelize operations using this OperationInitialization. -
submit
Submits a task to run in this thread pool. -
parallelismFactor
int parallelismFactor()Number of threads that are potentially available.
-