Uses of Class
net.officefloor.plugin.managedobject.poll.StatePoller.Builder
Packages that use StatePoller.Builder
-
Uses of StatePoller.Builder in net.officefloor.plugin.managedobject.poll
Methods in net.officefloor.plugin.managedobject.poll that return StatePoller.BuilderModifier and TypeMethodDescriptionstatic <S> StatePoller.Builder<S,Indexed> StatePoller.builder(Class<S> stateType, Clock<Long> clock, int flowIndex, ManagedObjectExecuteContext<Indexed> executeContext, Function<StatePollContext<S>, ManagedObject> managedObjectFactory) Creates aStatePoller.BuilderforFlowindex.static <S,F extends Enum<F>>
StatePoller.Builder<S,F> StatePoller.builder(Class<S> stateType, Clock<Long> clock, F flowKey, ManagedObjectExecuteContext<F> executeContext, Function<StatePollContext<S>, ManagedObject> managedObjectFactory) Creates aStatePoller.BuilderforFlowkey.static <S> StatePoller.Builder<S,None> StatePoller.builder(Class<S> stateType, Clock<Long> clock, StatePoller.Initialiser<S> initialiser, StatePoller.Poller<S> poller) Creates aStatePoller.Builderfor customStatePoller.Poller.StatePoller.Builder.defaultPollInterval(long defaultPollInterval, TimeUnit unit) Allows specifying the default poll interval.StatePoller.Builder.identifier(String identifier) Allows providing an identifier in the log message to identify theStatePoller.Allows specifying theLogger.StatePoller.Builder.parameter(Function<StatePollContext<S>, Object> parameterFactory) Allows providing a parameter to theProcessStateinvoked from theManagedObjectExecuteContextfor polling.StatePoller.Builder.pollMargin(long margin, TimeUnit unit) Allows specifying the poll margin.StatePoller.Builder.startup(Consumer<ManagedObjectStartupProcess> startupProcessDecorator) Provides a decorator of theManagedObjectStartupProcess.StatePoller.Builder.successLogLevel(Level successLogLevel) Allows specifying the success logLevel.