Uses of Interface
jakarta.resource.spi.work.Work
-
Packages that use Work Package Description jakarta.resource.spi.work This package contains APIs for the Work Management, Generic and Security Work Context contracts. -
-
Uses of Work in jakarta.resource.spi.work
Subinterfaces of Work in jakarta.resource.spi.work Modifier and Type Interface Description interface
DistributableWork
This models aWork
instance that would be distributed by aDistributableWorkManager
for execution in a remoteDistributableWorkManager
Methods in jakarta.resource.spi.work that return Work Modifier and Type Method Description Work
WorkEvent. getWork()
Return theWork
instance which is the cause of the event.Methods in jakarta.resource.spi.work with parameters of type Work Modifier and Type Method Description void
WorkManager. doWork(Work work)
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
WorkManager. startWork(Work work)
Accepts aWork
instance for processing.long
WorkManager. startWork(Work work, long startTimeout, ExecutionContext execContext, WorkListener workListener)
Accepts aWork
instance for processing.Constructors in jakarta.resource.spi.work with parameters of type Work Constructor Description WorkEvent(Object source, int type, Work work, WorkException exc)
Constructor.WorkEvent(Object source, int type, Work work, WorkException exc, long startDuration)
Constructor.
-