public interface Work
This models a Work
instance that would be executed by a
WorkManager
upon submission.
Method Summary | |
---|---|
void |
release()
The WorkManager might call this method to hint the
active Work instance to complete execution as soon as
possible. |
Methods inherited from interface java.lang.Runnable |
---|
run |
Method Detail |
---|
void release()
WorkManager
might call this method to hint the
active Work
instance to complete execution as soon as
possible. This would be called on a separate thread other than the
one currently executing the Work
instance.