|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface IStoreReader.ReadCallback
Callback interface used by a reader to dispatch store objects or transaction entries to the user.
Method Summary | |
---|---|
void |
done(long lastTransactionId)
Invoked to notify that the read is complete. |
void |
entry(StoreCommitEntry commitEntry)
Dispatches a commit entry. |
void |
metadata(PktBuffer buffer)
Dispatches metadata |
Method Detail |
---|
void metadata(PktBuffer buffer)
buffer
- The buffer containing the serialized metadatavoid entry(StoreCommitEntry commitEntry)
commitEntry
- The commit entryvoid done(long lastTransactionId)
lastTransactionId
- The id of the last transaction read
from the transaction log. A value of -1 indicates to the receiver
that the transaction id of the last entry read should be used as
the last transaction id.
This method should be invoked by the reader implementation to indicate the completion of a read.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |