public interface WorkItemManager
|Modifier and Type||Method and Description|
Notifies the work item manager that the work item with the given id could not be executed and should be aborted.
Notifies the work item manager that the work item with the given id has been completed.
Register the given handler for all work items of the given type of work
void completeWorkItem(long id, Map<String,Object> results)
id- the id of the work item that has been completed
results- the results related to this work item, or
nullif there are no results
void abortWorkItem(long id)
id- the id of the work item that should be aborted
void registerWorkItemHandler(String workItemName, WorkItemHandler handler)
workItemName- the type of work this work item handler can execute
handler- the handler for executing work items
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.