Package net.handle.hdllib
Interface TransactionQueueInterface
- 
 public interface TransactionQueueInterfaceInterface for the transaction queue that is used as a callback from messages like DumpHandlesRequest.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddQueueListener(TransactionQueueListener l)voidaddTransaction(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.voidaddTransaction(Transaction txn)voiddeleteUntilDate(long date)longgetFirstDate()longgetLastTxnId()TransactionScannerInterfacegetScanner(long lastTxnId)voidremoveQueueListener(TransactionQueueListener l)voidshutdown()Close any open files or resources in use by the queue.
 
- 
- 
- 
Method Detail- 
getLastTxnIdlong getLastTxnId() 
 - 
addQueueListenervoid addQueueListener(TransactionQueueListener l) 
 - 
removeQueueListenervoid removeQueueListener(TransactionQueueListener l) 
 - 
addTransactionvoid addTransaction(long txnId, byte[] handle, HandleValue[] values, byte action, long date) throws java.lang.ExceptionLog the specified transaction to the current queue or throw an exception if there is an error or if this is a read-only queue.- Throws:
- java.lang.Exception
 
 - 
addTransactionvoid addTransaction(Transaction txn) throws java.lang.Exception - Throws:
- java.lang.Exception
 
 - 
getScannerTransactionScannerInterface getScanner(long lastTxnId) throws java.lang.Exception - Throws:
- java.lang.Exception
 
 - 
getFirstDatelong getFirstDate() 
 - 
shutdownvoid shutdown() Close any open files or resources in use by the queue.
 - 
deleteUntilDatevoid deleteUntilDate(long date) 
 
- 
 
-