- schedule
Schedules work for execution at a later time, after the current transaction (if
any) has committed.
- awaitCompletion
Waits for completion of work in a given queue.
- getWorkQueueIds
Lists the ids of the existing work queues.
- getWorkState
Gets the state in which a work instance is. This can be State#SCHEDULED,
State#RUNNING, or null.
- getMetrics
Gets the metrics for the queueId
- listWorkIds
Lists the work ids in a given queue in a defined state.
- getCategoryQueueId
Gets the queue id used for a given work category.
- init
Starts up this WorkManager and attempts to resume work previously suspended and
saved at #shutdown t
- isStarted
- listWork
Lists the work instances in a given queue in a defined state.
- shutdown
Shuts down this WorkManager and attempts to suspend and save the running and
scheduled work instance
- shutdownQueue
Shuts down a work queue and attempts to suspend and save the running and
scheduled work instances.