Interface StatePoller.Initialiser<S>
-
- Enclosing class:
- StatePoller<S,F extends java.lang.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.
@FunctionalInterface public static interface StatePoller.Initialiser<S>Initialiser for polling state.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidinitialise(StatePollContext<S> context, FlowCallback callback)Invoked to initialise polling state.
-
-
-
Method Detail
-
initialise
void initialise(StatePollContext<S> context, FlowCallback callback)
Invoked to initialise polling state.- Parameters:
context-StatePollContext.callback-FlowCallbackto invoke on completion of the custom poll.
-
-