public abstract class CUTask<T> extends ManagedTaskListenerTask implements java.lang.Comparable<java.lang.Object>
Modifier and Type | Class and Description |
---|---|
static interface |
CUTask.ContainerListener<T> |
static class |
CUTask.Context |
delegate, executor, future
Constructor and Description |
---|
CUTask(java.lang.Object task,
ContextServiceImpl contextService) |
Modifier and Type | Method and Description |
---|---|
static void |
addContainerListener(CUTask.ContainerListener cl) |
int |
compareTo(java.lang.Object o) |
protected T |
invoke(java.util.concurrent.Callable<T> call) |
getDelegate, taskAborted, taskAborted, taskDone, taskStarting, taskSubmitted
public CUTask(java.lang.Object task, ContextServiceImpl contextService)
public static void addContainerListener(CUTask.ContainerListener cl)
protected T invoke(java.util.concurrent.Callable<T> call) throws java.lang.Exception
java.lang.Exception
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable<java.lang.Object>