| Modifier and Type | Method and Description |
|---|---|
Object |
disposeResult(String name,
int sequence)
Disposes the result of the execution with the given sequence
|
Object |
isShutdown(String name)
Returns true if this executor has been shut down.
|
Object |
retrieveAndDisposeResult(String name,
int sequence)
Retrieves and disposes the result of the execution with the given sequence
|
Object |
retrieveResult(String name,
int sequence)
Retrieves the result of the execution with the given sequence
|
void |
shutdown(String name)
Initiates an orderly shutdown in which previously submitted tasks are executed, but no new tasks will be accepted.
|
Object |
submitToPartition(String name,
Data callable)
Submits the task to partition for execution
|
void shutdown(String name)
name - Name of the executor.Object isShutdown(String name)
name - Name of the executor.Object submitToPartition(String name, Data callable)
name - Name of the executor.callable - The callable object to be executed.Object retrieveResult(String name, int sequence)
name - Name of the executor.sequence - Sequence of the execution.Object disposeResult(String name, int sequence)
name - Name of the executor.sequence - Sequence of the execution.Object retrieveAndDisposeResult(String name, int sequence)
name - Name of the executor.sequence - Sequence of the execution.Copyright © 2018. All Rights Reserved.