public static interface IStoreReader.ReadCallback
Modifier and Type | Method and Description |
---|---|
void |
done(long lastTransactionId)
Invoked to notify that the read is complete.
|
boolean |
entry(StoreCommitEntry commitEntry)
Dispatches a commit entry.
|
void |
metadata(PktBuffer buffer)
Dispatches metadata
|
void metadata(PktBuffer buffer)
buffer
- The buffer containing the serialized metadataboolean 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.
Copyright © 2019 Neeve Research, LLC. All Rights Reserved.