public interface ParallelismStrategy
Modifier and Type | Interface and Description |
---|---|
static class |
ParallelismStrategy.Type
The type of parallelism.
|
Modifier and Type | Field and Description |
---|---|
static IgniteFunction<Integer,ParallelismStrategy.Type> |
NO_PARALLELISM
No parallelism.
|
static IgniteFunction<Integer,ParallelismStrategy.Type> |
ON_DEFAULT_POOL
On default pool.
|
Modifier and Type | Method and Description |
---|---|
int |
getParallelism()
Returns default parallelism.
|
<T> Promise<T> |
submit(IgniteSupplier<T> task)
Submit task.
|
default <T> List<Promise<T>> |
submit(List<IgniteSupplier<T>> tasks)
Submit the list of tasks.
|
static final IgniteFunction<Integer,ParallelismStrategy.Type> ON_DEFAULT_POOL
static final IgniteFunction<Integer,ParallelismStrategy.Type> NO_PARALLELISM
<T> Promise<T> submit(IgniteSupplier<T> task)
task
- Task.int getParallelism()
default <T> List<Promise<T>> submit(List<IgniteSupplier<T>> tasks)
T
- The type of return value.tasks
- The task list.
GridGain In-Memory Computing Platform : ver. 8.9.14 Release Date : November 5 2024