public abstract class AsyncNativeProcessRunner extends Object
Constructor and Description |
---|
AsyncNativeProcessRunner(Ignite ignite,
ExecutorService executor)
Constructs a new asynchronous native process runner.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
doAfter()
Method that should be called after starting the process.
|
abstract NativeProcessRunner |
doBefore()
Method that should be called before starting the process.
|
Exception |
getException()
Returns an exception that happened during execution or
null if there is no exception. |
boolean |
isCompleted()
Checks if process is already completed.
|
void |
start()
Starts the process in separate thread.
|
void |
stop()
Stops the process.
|
public AsyncNativeProcessRunner(Ignite ignite, ExecutorService executor)
ignite
- Ignite instance.executor
- Executor.public abstract NativeProcessRunner doBefore()
public abstract void doAfter()
public void start()
public void stop()
public boolean isCompleted()
true
if process completed, otherwise false
.public Exception getException()
null
if there is no exception.null
if there is no exception.
GridGain In-Memory Computing Platform : ver. 8.9.3 Release Date : March 13 2024