Uses of Class
com.tccc.kos.commons.util.ReasonData
Packages that use ReasonData
-
Uses of ReasonData in com.tccc.kos.commons.util
Methods in com.tccc.kos.commons.util that return ReasonDataConstructors in com.tccc.kos.commons.util with parameters of type ReasonDataModifierConstructorDescriptionReasonException
(String reason, ReasonData reasonData) ReasonException
(String reason, ReasonData reasonData, Throwable t) -
Uses of ReasonData in com.tccc.kos.commons.util.concurrent.future
Methods in com.tccc.kos.commons.util.concurrent.future that return ReasonDataModifier and TypeMethodDescriptionFutureWork.getReasonData()
Returns the reason data if there is any.Methods in com.tccc.kos.commons.util.concurrent.future with parameters of type ReasonDataModifier and TypeMethodDescriptionvoid
FutureWork.abort
(String reason, ReasonData reasonData) Aborts the work with the specified reason and optional reason data.void
FutureWork.cancel
(String reason, ReasonData reasonData) Cancels the work with the specified reason and optional reason data.void
FutureWork.fail
(String reason, ReasonData reasonData) Fails the work with the specified reason and optional reason data.void
FutureWork.setState
(FutureState state, String reason, ReasonData reasonData) Sets the state of the work.Constructors in com.tccc.kos.commons.util.concurrent.future with parameters of type ReasonDataModifierConstructorDescriptionFailedFuture
(String name, String reason, ReasonData data) Creates a future that will fail with the specified reason and data.