public class DelegatingPollHandler<V> extends java.lang.Object implements PollHandler<V>
Constructor and Description |
---|
DelegatingPollHandler(java.lang.Iterable<AttributePollHandler<? super V>> delegates) |
Modifier and Type | Method and Description |
---|---|
boolean |
checkSuccess(V val) |
java.lang.String |
getDescription() |
void |
onException(java.lang.Exception exception) |
void |
onFailure(V val) |
void |
onSuccess(V val) |
java.lang.String |
toString() |
public DelegatingPollHandler(java.lang.Iterable<AttributePollHandler<? super V>> delegates)
public boolean checkSuccess(V val)
checkSuccess
in interface PollHandler<V>
public void onSuccess(V val)
onSuccess
in interface PollHandler<V>
public void onFailure(V val)
onFailure
in interface PollHandler<V>
public void onException(java.lang.Exception exception)
onException
in interface PollHandler<V>
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getDescription()
getDescription
in interface PollHandler<V>