public class BasicExecutionContext extends AbstractExecutionContext
Executor
and also supply ExecutorService.submit(Callable)
Constructor and Description |
---|
BasicExecutionContext(ExecutionManager executionManager) |
BasicExecutionContext(java.util.Map<?,?> flags,
ExecutionManager executionManager)
Supported flags are
tag and tags |
Modifier and Type | Method and Description |
---|---|
static BasicExecutionContext |
getCurrentExecutionContext() |
ExecutionManager |
getExecutionManager() |
java.util.Set<Task<?>> |
getTasks()
returns tasks started by this context (or tasks which have all the tags on this object)
|
boolean |
isShutdown() |
java.lang.String |
toString() |
public BasicExecutionContext(ExecutionManager executionManager)
public BasicExecutionContext(java.util.Map<?,?> flags, ExecutionManager executionManager)
tag
and tags
ExecutionManager#submit(Map, Task)
public static BasicExecutionContext getCurrentExecutionContext()
public ExecutionManager getExecutionManager()
public java.util.Set<Task<?>> getTasks()
public boolean isShutdown()
public java.lang.String toString()
toString
in class java.lang.Object