public abstract class AbstractTransactionQueue
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
AbstractTransactionQueue.CloseableEnumeration |
Constructor and Description |
---|
AbstractTransactionQueue() |
Modifier and Type | Method and Description |
---|---|
void |
addQueueListener(TransactionQueueListener l) |
abstract void |
addTransaction(Transaction txn)
Log the specified transaction to the current queue (creating a new queue, if
necessary
|
abstract AbstractTransactionQueue.CloseableEnumeration |
getCloseableScanner(long lastTimestamp)
Returns an Enumeration of Transaction objects starting after the
given timestamp.
|
abstract long |
getLastTimestamp() |
java.util.Enumeration |
getScanner(long lastTimestamp)
Deprecated.
Use #getCloseableScanner(long).
|
void |
removeQueueListener(TransactionQueueListener l) |
abstract void |
shutdown() |
public void addQueueListener(TransactionQueueListener l)
public void removeQueueListener(TransactionQueueListener l)
public abstract long getLastTimestamp()
public abstract void addTransaction(Transaction txn) throws java.lang.Exception
java.lang.Exception
public abstract void shutdown()
@Deprecated public final java.util.Enumeration getScanner(long lastTimestamp) throws java.lang.Exception
java.lang.Exception
public abstract AbstractTransactionQueue.CloseableEnumeration getCloseableScanner(long lastTimestamp) throws java.lang.Exception
java.lang.Exception