DiskForceWaitQueue (Bitronix Transaction Manager :: Core 2.1.4 API)
Date: 2013-09-15

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2006-2013 Bitronix Software. All Rights Reserved.