public class DefaultParallelismStrategy extends Object implements ParallelismStrategy
Modifier and Type | Class and Description |
---|---|
static class |
DefaultParallelismStrategy.FutureWrapper<T>
Wrapper for future class.
|
ParallelismStrategy.Type
NO_PARALLELISM, ON_DEFAULT_POOL
Constructor and Description |
---|
DefaultParallelismStrategy() |
Modifier and Type | Method and Description |
---|---|
int |
getParallelism()
Returns default parallelism.
|
<T> Promise<T> |
submit(IgniteSupplier<T> task)
Submit task.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
submit
public <T> Promise<T> submit(IgniteSupplier<T> task)
submit
in interface ParallelismStrategy
task
- Task.public int getParallelism()
getParallelism
in interface ParallelismStrategy
GridGain In-Memory Computing Platform : ver. 8.9.14 Release Date : November 5 2024