com.netflix.config
Interface PollListener
public interface PollListener
The listener to be called upon when AbstractPollingScheduler completes a polling.
handleEvent
void handleEvent(PollListener.EventType eventType,
PollResult lastResult,
java.lang.Throwable exception)
- This method is called when the listener is invoked after a polling.
- Parameters:
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