public class AttributePollHandler<V> extends java.lang.Object implements PollHandler<V>
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
log |
| Constructor and Description |
|---|
AttributePollHandler(FeedConfig<V,?,?> config,
EntityLocal entity,
AbstractFeed feed) |
| 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 AttributePollHandler(FeedConfig<V,?,?> config, EntityLocal entity, AbstractFeed feed)
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.Objectpublic java.lang.String getDescription()
getDescription in interface PollHandler<V>