public static class ReactorListener.Aggregator extends Object implements ReactorListener
ReactorListener.AggregatorNOOP| Constructor and Description |
|---|
ReactorListener.Aggregator(Collection<ReactorListener> listeners) |
| Modifier and Type | Method and Description |
|---|---|
void |
onAttained(Milestone milestone)
Indicates that the following milestone was attained.
|
void |
onTaskCompleted(Task t)
Notifies that the execution of the task is about to finish.
|
void |
onTaskFailed(Task t,
Throwable err,
boolean fatal)
Notifies that the execution of the task have failed with an exception.
|
void |
onTaskStarted(Task t)
Notifies that the execution of the task is about to start.
|
public ReactorListener.Aggregator(Collection<ReactorListener> listeners)
public void onTaskStarted(Task t)
ReactorListeneronTaskStarted in interface ReactorListenerpublic void onTaskCompleted(Task t)
ReactorListenerReactorListener.onTaskStarted(Task).onTaskCompleted in interface ReactorListenerpublic void onTaskFailed(Task t, Throwable err, boolean fatal)
ReactorListeneronTaskFailed in interface ReactorListenererr - Either Error or Exception, indicating the cause of the failure.fatal - If true, this problem is fatal, and the reactor
is going to terminate. If false, the reactor will continue executing after this failure.public void onAttained(Milestone milestone)
ReactorListeneronAttained in interface ReactorListenerCopyright © 2004-2013. All Rights Reserved.