Package javax.resource.spi.work
Interface Work
- All Superinterfaces:
Runnable
- All Known Subinterfaces:
DistributableWork
This models a
Work
instance that would be executed by a
WorkManager
upon submission.-
Method Summary
Modifier and TypeMethodDescriptionvoid
release()
TheWorkManager
might call this method to hint the activeWork
instance to complete execution as soon as possible.
-
Method Details
-
release
void release()TheWorkManager
might call this method to hint the activeWork
instance to complete execution as soon as possible. This would be called on a separate thread other than the one currently executing theWork
instance.
-