public final class GroupedActionListener<T> extends java.lang.Object implements ActionListener<T>
| Constructor and Description |
|---|
GroupedActionListener(ActionListener<java.util.Collection<T>> delegate,
int groupSize,
java.util.Collection<T> defaults)
Creates a new listener
|
| Modifier and Type | Method and Description |
|---|---|
void |
onFailure(java.lang.Exception e)
A failure caused by an exception at some phase of the task.
|
void |
onResponse(T element)
Handle action response.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonFailure, onResponse, toBiConsumer, wrap, wrappublic GroupedActionListener(ActionListener<java.util.Collection<T>> delegate, int groupSize, java.util.Collection<T> defaults)
delegate - the delegate listenergroupSize - the group sizepublic void onResponse(T element)
ActionListeneronResponse in interface ActionListener<T>public void onFailure(java.lang.Exception e)
ActionListeneronFailure in interface ActionListener<T>