commit

public void commit()

Commit a previously prepared provisional enqueue operation (from
the 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.