public interface QueueingProcessor
Modifier and Type | Method and Description |
---|---|
void |
add(Work work,
WorkQueue workQueue)
Add a work
TODO move that somewhere else, it does not really fit here
|
void |
cancelWorks(WorkQueue workQueue)
Rollback works
|
void |
performWorks(WorkQueue workQueue)
Execute works
|
void |
prepareWorks(WorkQueue workQueue)
prepare resources for a later performWorks call
|
void add(Work work, WorkQueue workQueue)
work
- the work to addworkQueue
- the work queuevoid prepareWorks(WorkQueue workQueue)
workQueue
- the work queuevoid performWorks(WorkQueue workQueue)
workQueue
- the work queuevoid cancelWorks(WorkQueue workQueue)
workQueue
- the work queueCopyright © 2006-2017 Red Hat, Inc. All Rights Reserved