Package io.deephaven.engine.context
Class PoisonedOperationInitializer
java.lang.Object
io.deephaven.engine.context.PoisonedOperationInitializer
- All Implemented Interfaces:
OperationInitializer
-
Field Summary
Fields inherited from interface io.deephaven.engine.updategraph.OperationInitializer
NON_PARALLELIZABLE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Whether the current thread can parallelize operations using this OperationInitialization.int
Number 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:OperationInitializer
Whether the current thread can parallelize operations using this OperationInitialization.- Specified by:
canParallelize
in interfaceOperationInitializer
-
submit
Description copied from interface:OperationInitializer
Submits a task to run in this thread pool.- Specified by:
submit
in interfaceOperationInitializer
-
parallelismFactor
public int parallelismFactor()Description copied from interface:OperationInitializer
Number of threads that are potentially available.- Specified by:
parallelismFactor
in interfaceOperationInitializer
-