static <S> StatePoller.Builder<S,Indexed> |
StatePoller.builder(java.lang.Class<S> stateType,
Clock<java.lang.Long> clock,
int flowIndex,
ManagedObjectExecuteContext<Indexed> executeContext,
java.util.function.Function<StatePollContext<S>,ManagedObject> managedObjectFactory) |
|
static <S,F extends java.lang.Enum<F>> StatePoller.Builder<S,F> |
StatePoller.builder(java.lang.Class<S> stateType,
Clock<java.lang.Long> clock,
F flowKey,
ManagedObjectExecuteContext<F> executeContext,
java.util.function.Function<StatePollContext<S>,ManagedObject> managedObjectFactory) |
|
static <S> StatePoller.Builder<S,None> |
StatePoller.builder(java.lang.Class<S> stateType,
Clock<java.lang.Long> clock,
StatePoller.Initialiser<S> initialiser,
StatePoller.Poller<S> poller) |
|
StatePoller.Builder<S,F> |
StatePoller.Builder.defaultPollInterval(long defaultPollInterval,
java.util.concurrent.TimeUnit unit) |
Allows specifying the default poll interval.
|
StatePoller.Builder<S,F> |
StatePoller.Builder.identifier(java.lang.String identifier) |
Allows providing an identifier in the log message to identify the
StatePoller .
|
StatePoller.Builder<S,F> |
StatePoller.Builder.logger(java.util.logging.Logger logger) |
Allows specifying the Logger .
|
StatePoller.Builder<S,F> |
StatePoller.Builder.parameter(java.util.function.Function<StatePollContext<S>,java.lang.Object> parameterFactory) |
|
StatePoller.Builder<S,F> |
StatePoller.Builder.pollMargin(long margin,
java.util.concurrent.TimeUnit unit) |
Allows specifying the poll margin.
|
StatePoller.Builder<S,F> |
StatePoller.Builder.startup(java.util.function.Consumer<ManagedObjectStartupProcess> startupProcessDecorator) |
|
StatePoller.Builder<S,F> |
StatePoller.Builder.successLogLevel(java.util.logging.Level successLogLevel) |
Allows specifying the success log Level .
|