Package io.deephaven.engine.context
Class PoisonedOperationInitializer
java.lang.Object
io.deephaven.engine.context.PoisonedOperationInitializer
- All Implemented Interfaces:
OperationInitializer
-
Field Summary
FieldsFields inherited from interface io.deephaven.engine.updategraph.OperationInitializer
NON_PARALLELIZABLE -
Constructor Summary
Constructors -
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
-
INSTANCE
-
-
Constructor Details
-
PoisonedOperationInitializer
public PoisonedOperationInitializer()
-
-
Method Details
-
canParallelize
public boolean canParallelize()Description copied from interface:OperationInitializerWhether the current thread can parallelize operations using this OperationInitialization.- Specified by:
canParallelizein interfaceOperationInitializer
-
submit
Description copied from interface:OperationInitializerSubmits a task to run in this thread pool.- Specified by:
submitin interfaceOperationInitializer
-
parallelismFactor
public int parallelismFactor()Description copied from interface:OperationInitializerNumber of threads that are potentially available.- Specified by:
parallelismFactorin interfaceOperationInitializer
-