Interface StatePoller.Poller<S>
- Enclosing class:
- StatePoller<S,
F extends Enum<F>>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Custom poller.
-
Method Summary
Modifier and TypeMethodDescriptionvoidnextPoll(long delay, StatePollContext<S> context, FlowCallback callback) Invoked to setup the next poll.
-
Method Details
-
nextPoll
Invoked to setup the next poll.- Parameters:
delay- Delay for poll. Will be0for start up (first) poll for state.context-StatePollContext.callback-FlowCallbackto invoke on completion of the custom poll.
-