public class TriggerCallable<V> extends TriggerTask<V> implements java.util.concurrent.Callable<V>
CUTask.ContainerListener<T>, CUTask.Context
done, executorService, futureRef, id, lastExecution, scheduledTime, skipped, trigger
executor, future
Constructor and Description |
---|
TriggerCallable(ManagedScheduledExecutorServiceImpl es,
java.util.concurrent.Callable<V> original,
java.util.concurrent.Callable<V> wrap,
Trigger trigger,
java.util.Date taskScheduledTime,
java.lang.String id,
java.util.concurrent.atomic.AtomicReference<java.util.concurrent.Future<V>> ref) |
Modifier and Type | Method and Description |
---|---|
V |
call() |
protected V |
doInvoke() |
getId, getLastExecution, getResult, invoke, isDone, isSkipped, nextDelay, stop
addContainerListener, compareTo, invoke
getDelegate, taskAborted, taskAborted, taskDone, taskStarting, taskSubmitted
public TriggerCallable(ManagedScheduledExecutorServiceImpl es, java.util.concurrent.Callable<V> original, java.util.concurrent.Callable<V> wrap, Trigger trigger, java.util.Date taskScheduledTime, java.lang.String id, java.util.concurrent.atomic.AtomicReference<java.util.concurrent.Future<V>> ref)