|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
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 |
public 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.
public 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 | ||||||||||