Uses of Enum Class
com.tccc.kos.commons.util.concurrent.future.FutureState
Packages that use FutureState
-
Uses of FutureState in com.tccc.kos.commons.util.concurrent.future
Methods in com.tccc.kos.commons.util.concurrent.future that return FutureStateModifier and TypeMethodDescriptionFutureWork.getEndState()
Returns the current state of the work.static FutureState
Returns the enum constant of this class with the specified name.static FutureState[]
FutureState.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.tccc.kos.commons.util.concurrent.future with parameters of type FutureStateModifier and TypeMethodDescriptionvoid
ParallelFuture.setAbortState
(FutureState state) Sets the end state to use for the parent future if any child future aborts.void
ParallelFuture.setFailState
(FutureState state) Sets the end state to use for the parent future if any child future fails.void
SequencedFuture.setFailState
(FutureState state) Sets what this work should do if a child fails.void
FutureWork.setState
(FutureState state, String reason, ReasonData reasonData) Sets the state of the work.void
FutureWork.setState
(FutureState state, String reason, Object data, Class<?> view) Sets the state of the work.