Package jakarta.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 TypeMethodDescriptionvoidrelease()TheWorkManagermight call this method to hint the activeWorkinstance to complete execution as soon as possible.
-
Method Details
-
release
void release()TheWorkManagermight call this method to hint the activeWorkinstance to complete execution as soon as possible. This would be called on a separate thread other than the one currently executing theWorkinstance.
-