bitronix.tm.journal
Class DiskForceWaitQueue
java.lang.Object
bitronix.tm.journal.DiskForceWaitQueue
public class DiskForceWaitQueue
- extends Object
TransactionLogAppender
s waiting for a disk force get enqueued here.
- Author:
- lorban
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DiskForceWaitQueue
public DiskForceWaitQueue()
enqueue
public boolean enqueue(TransactionLogAppender tla)
- Returns:
- true if the tla was successfully enqueued, false otherwise
head
public TransactionLogAppender head()
clear
public void clear()
isEmpty
public boolean isEmpty()
waitUntilNotEmpty
public void waitUntilNotEmpty()
throws InterruptedException
- Throws:
InterruptedException
size
public int size()
waitUntilNotContains
public void waitUntilNotContains(TransactionLogAppender tla)
throws InterruptedException
- Throws:
InterruptedException
Copyright © 2006-2013 Bitronix Software. All Rights Reserved.