Uses of Class
jakarta.resource.spi.work.WorkException
Package
Description
This package contains APIs for the Work Management, Generic and Security Work Context contracts.
-
Uses of WorkException in jakarta.resource.spi.work
Modifier and TypeClassDescriptionclass
A subclass of theWorkRejectedException
that indicates that the the service unavailability is transient.class
This exception is thrown by aWorkManager
to indicate that a submittedWork
instance has completed with an exception.class
This exception is thrown by aWorkManager
to indicate that a submittedWork
instance has been rejected.Modifier and TypeMethodDescriptionvoid
Accepts aWork
instance for processing.void
WorkManager.doWork
(Work work, long startTimeout, ExecutionContext execContext, WorkListener workListener) Accepts aWork
instance for processing.void
WorkManager.scheduleWork
(Work work) Accepts aWork
instance for processing.void
WorkManager.scheduleWork
(Work work, long startTimeout, ExecutionContext execContext, WorkListener workListener) Accepts aWork
instance for processing.long
Accepts aWork
instance for processing.long
WorkManager.startWork
(Work work, long startTimeout, ExecutionContext execContext, WorkListener workListener) Accepts aWork
instance for processing.ModifierConstructorDescriptionWorkEvent
(Object source, int type, Work work, WorkException exc) Constructor.WorkEvent
(Object source, int type, Work work, WorkException exc, long startDuration) Constructor.