public class HadoopExecutorService extends Object
| Constructor and Description |
|---|
HadoopExecutorService(IgniteLogger log,
String igniteInstanceName,
int maxTasks,
int maxQueue) |
| Modifier and Type | Method and Description |
|---|---|
int |
active() |
boolean |
isShutdown() |
boolean |
shutdown(long awaitTimeMillis)
Shuts down this executor service.
|
void |
submit(Callable<?> task)
Submit task.
|
public HadoopExecutorService(IgniteLogger log, String igniteInstanceName, int maxTasks, int maxQueue)
log - Logger.igniteInstanceName - Ignite instance name.maxTasks - Max number of tasks.maxQueue - Max queue length.public int active()
public void submit(Callable<?> task)
task - Task.public boolean shutdown(long awaitTimeMillis)
awaitTimeMillis - Time in milliseconds to wait for tasks completion.true If all tasks completed.public boolean isShutdown()
true If method shutdown(long) was already called.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.5.1-p166 Release Date : September 3 2019