public interface TransactionQueueInterface
Modifier and Type | Method | Description |
---|---|---|
void |
addQueueListener(TransactionQueueListener l) |
|
void |
addTransaction(long txnId,
byte[] handle,
HandleValue[] values,
byte action,
long date) |
Log the specified transaction to the current queue or throw an exception
if there is an error or if this is a read-only queue.
|
void |
addTransaction(Transaction txn) |
|
void |
deleteUntilDate(long date) |
|
long |
getFirstDate() |
|
long |
getLastTxnId() |
|
TransactionScannerInterface |
getScanner(long lastTxnId) |
|
void |
removeQueueListener(TransactionQueueListener l) |
|
void |
shutdown() |
Close any open files or resources in use by the queue.
|
long getLastTxnId()
void addQueueListener(TransactionQueueListener l)
void removeQueueListener(TransactionQueueListener l)
void addTransaction(long txnId, byte[] handle, HandleValue[] values, byte action, long date) throws java.lang.Exception
java.lang.Exception
void addTransaction(Transaction txn) throws java.lang.Exception
java.lang.Exception
TransactionScannerInterface getScanner(long lastTxnId) throws java.lang.Exception
java.lang.Exception
long getFirstDate()
void shutdown()
void deleteUntilDate(long date)