public interface PollListener
AbstractPollingScheduler completes a polling.| Modifier and Type | Interface and Description |
|---|---|
static class |
PollListener.EventType |
| Modifier and Type | Method and Description |
|---|---|
void |
handleEvent(PollListener.EventType eventType,
PollResult lastResult,
java.lang.Throwable exception)
This method is called when the listener is invoked after a polling.
|
void handleEvent(PollListener.EventType eventType, PollResult lastResult, java.lang.Throwable exception)
eventType - type of the eventlastResult - the last poll result, null if the poll fails or there is no resultexception - any Throwable caught in the last poll, null if the poll is successful