public abstract class ManagedTaskListenerTask
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.Object |
delegate |
protected ManagedExecutorService |
executor |
protected java.util.concurrent.Future<?> |
future |
Modifier | Constructor and Description |
---|---|
protected |
ManagedTaskListenerTask(java.lang.Object task) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getDelegate() |
void |
taskAborted(java.util.concurrent.Future<?> future,
ManagedExecutorService executor,
java.lang.Object task,
java.lang.Throwable exception) |
void |
taskAborted(java.lang.Throwable skippedException) |
void |
taskDone(java.util.concurrent.Future<?> future,
ManagedExecutorService executor,
java.lang.Object task,
java.lang.Throwable exception) |
void |
taskStarting(java.util.concurrent.Future<?> future,
ManagedExecutorService executor,
java.lang.Object task) |
void |
taskSubmitted(java.util.concurrent.Future<?> future,
ManagedExecutorService executor,
java.lang.Object task) |
protected java.util.concurrent.Future<?> future
protected final java.lang.Object delegate
protected ManagedExecutorService executor
public void taskSubmitted(java.util.concurrent.Future<?> future, ManagedExecutorService executor, java.lang.Object task)
public void taskAborted(java.util.concurrent.Future<?> future, ManagedExecutorService executor, java.lang.Object task, java.lang.Throwable exception)
public void taskDone(java.util.concurrent.Future<?> future, ManagedExecutorService executor, java.lang.Object task, java.lang.Throwable exception)
public void taskStarting(java.util.concurrent.Future<?> future, ManagedExecutorService executor, java.lang.Object task)
public void taskAborted(java.lang.Throwable skippedException)
public java.lang.Object getDelegate()