|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PreparedEnqueue
A PreparedEnqueue is an object returned from a
prepareEnqueue method that allows you to either commit
or abort the enqueue operation.
| Method Summary | |
|---|---|
void |
abort()
Abort a previously prepared provisional enqueue operation (from the prepareEnqueue method). |
void |
commit()
Commit a previously prepared provisional enqueue operation (from the prepareEnqueue method). |
| Method Detail |
|---|
void commit()
prepareEnqueue method). Causes the provisionally
enqueued elements to appear on the queue for future dequeue
operations. Note that once a prepareEnqueue has
returned an enqueue key, the queue cannot reject the entries.
void abort()
prepareEnqueue method). Causes the queue to
discard the provisionally enqueued elements.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||