public interface ExecutionListener
Modifier and Type | Method and Description |
---|---|
void |
onTaskDone(Task<?> task)
invoked when a task completes:
Task.getEndTimeUtc() and Future.isDone() are guaranteed to be set,
and Future.get() should return immediately for most Task implementations
(care has been taken to avoid potential deadlocks here, waiting for a result!) |
void onTaskDone(Task<?> task)
Task.getEndTimeUtc()
and Future.isDone()
are guaranteed to be set,
and Future.get()
should return immediately for most Task implementations
(care has been taken to avoid potential deadlocks here, waiting for a result!)