Package co.ecg.alpaca.toolkit.task
Class ProcessContext
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic interface -
Field Summary
Fields inherited from class co.ecg.alpaca.toolkit.AbstractContext
parent -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidjoin()voidput(ProcessContext.ThrowableRunnable runnable) <T> CompletableFuture<T>put(ProcessContext.ThrowableSupplier<T> runnable) voidsetExecutorServiceByName(String executorName) Methods inherited from class co.ecg.alpaca.toolkit.AbstractContext
addChild, getAllInheritedFutures, getFutures, getNumberChildren, getOutstandingFutures, getOutstandingInheritedFutures, removeChild, toString
-
Constructor Details
-
ProcessContext
-
-
Method Details
-
getChildContext
- Specified by:
getChildContextin classAbstractContext<ProcessContext>
-
setExecutorServiceByName
-
put
-
put
-
closeExecutor
public void closeExecutor() -
join
public void join()- Overrides:
joinin classAbstractContext<ProcessContext>
-