public interface WorkQueueSynchronization extends Synchronization
Modifier and Type | Method and Description |
---|---|
void |
add(Work work)
Add some work to the transaction queue.
|
void |
flushWorks()
Flush the queue by executing the workload
|
boolean |
isConsumed()
Whether or not this queue has been consumed
|
afterCompletion, beforeCompletion
void add(Work work)
work
- the work to addboolean isConsumed()
true
if the work has been consumedvoid flushWorks()
Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved