bitronix.tm.journal
Class DiskForceWaitQueue

java.lang.Object
  extended by bitronix.tm.journal.DiskForceWaitQueue

public class DiskForceWaitQueue
extends Object

TransactionLogAppenders waiting for a disk force get enqueued here.

Author:
lorban

Constructor Summary
DiskForceWaitQueue()
           
 
Method Summary
 void clear()
           
 boolean enqueue(TransactionLogAppender tla)
           
 TransactionLogAppender head()
           
 boolean isEmpty()
           
 int size()
           
 void waitUntilNotContains(TransactionLogAppender tla)
           
 void waitUntilNotEmpty()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiskForceWaitQueue

public DiskForceWaitQueue()
Method Detail

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.