Package net.handle.hdllib
Interface TransactionCallback
public interface TransactionCallback
Interface used to define objects that want to receive the streamed
results from RetrieveTxnResponse messages.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
finishProcessing
(long sourceDate) Finish processing this request.void
processTransaction
(String queueName, Transaction txn) void
Process the given transaction which was received via the stream in the RetrieveTxnResponse message.void
setQueueLastTimestamp
(String queueName, long sourceDate)
-
Method Details
-
processTransaction
Process the given transaction which was received via the stream in the RetrieveTxnResponse message.- Throws:
HandleException
-
finishProcessing
void finishProcessing(long sourceDate) Finish processing this request. The given date (or more specifically, the minimum date returned from all replicated servers) should be used the next time that a RetrieveTxnRequest is sent. -
finishProcessing
void finishProcessing() -
setQueueLastTimestamp
-
processTransaction
- Throws:
HandleException
-