Package co.ecg.alpaca.toolkit
Class AbstractContext<T extends AbstractContext<?>>
java.lang.Object
co.ecg.alpaca.toolkit.AbstractContext<T>
- Direct Known Subclasses:
ProcessContext,RequestContext
public abstract class AbstractContext<T extends AbstractContext<?>> extends Object
-
Field Summary
-
Constructor Summary
Constructors Constructor Description AbstractContext(T parent) -
Method Summary
Modifier and Type Method Description protected voidaddChild(T requestContext)List<CompletableFuture<?>>getAllInheritedFutures()abstract TgetChildContext()List<CompletableFuture<?>>getFutures()intgetNumberChildren()longgetOutstandingFutures()longgetOutstandingInheritedFutures()voidjoin()protected voidremoveChild(T requestContext)StringtoString()
-
Field Details
-
Constructor Details
-
Method Details
-
getOutstandingFutures
public long getOutstandingFutures() -
getOutstandingInheritedFutures
public long getOutstandingInheritedFutures() -
addChild
-
removeChild
-
getNumberChildren
public int getNumberChildren() -
getChildContext
-
getFutures
-
getAllInheritedFutures
-
join
public void join() -
toString
-