public interface WorkItem extends java.lang.Comparable
WorkManager.waitForAll(java.util.Collection, long)to wait for remote or local WorkItems to complete.
Applications can use the WorkItem as a key to correlate the WorkItem back to the running Work object. The WorkItem should implement the equals, compareTo and hashCode methods and is therefore Collection-friendly.
|Modifier and Type||Method and Description|
This returns the Work once it has completed.
This returns the current status of dispatching the Work.
Work getResult() throws WorkException