Package co.ecg.alpaca.toolkit.task
Class ProcessContext
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
static interface
-
Field Summary
Fields inherited from class co.ecg.alpaca.toolkit.AbstractContext
parent
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
join()
void
put
(ProcessContext.ThrowableRunnable runnable) <T> CompletableFuture<T>
put
(ProcessContext.ThrowableSupplier<T> runnable) void
setExecutorServiceByName
(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:
getChildContext
in classAbstractContext<ProcessContext>
-
setExecutorServiceByName
-
put
-
put
-
closeExecutor
public void closeExecutor() -
join
public void join()- Overrides:
join
in classAbstractContext<ProcessContext>
-