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 FutureStateReturns 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 TypeMethodDescriptionvoidParallelFuture.setAbortState(FutureState state) Sets the end state to use for the parent future if any child future aborts.voidParallelFuture.setFailState(FutureState state) Sets the end state to use for the parent future if any child future fails.voidSequencedFuture.setFailState(FutureState state) Sets what this work should do if a child fails.voidFutureWork.setState(FutureState state, String reason, ReasonData reasonData) Sets the state of the work.voidFutureWork.setState(FutureState state, String reason, Object data, Class<?> view) Sets the state of the work.