public static interface Execution.Handle extends java.util.function.Supplier<BaseModelExecutor>
shutdownAndAwait()
method to
initiate and await the termination of the execution its instance was
created for. The (base) model executor in charge of the execution can
also be accessed for external libraries to use.Modifier and Type | Method and Description |
---|---|
BaseModelExecutor |
get()
Returns the (base) model executor that manages this model execution.
|
void |
shutdownAndAwait()
Initiates and awaits the termination of the model execution this
handle was created for; also calls the appropriate
Execution.after()
method. |
void shutdownAndAwait()
Execution.after()
method.BaseModelExecutor get()
get
in interface java.util.function.Supplier<BaseModelExecutor>