|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IStoreReader
Represents a store reader.
This interface defines a store reader. Store readers read store objects and/or transactions from an abstract source.
Nested Class Summary | |
---|---|
static interface |
IStoreReader.ReadCallback
Callback interface used by a reader to dispatch store objects or transaction entries to the user. |
Method Summary | |
---|---|
void |
read(IStoreReader.ReadCallback callback)
Read the contents of the persisted store. |
void |
read(IStoreReader.ReadCallback callback,
int flags)
Read the contents of the persisted store. |
void |
readMetadata(PktBuffer buffer)
Read serialized form of a store's metadata into a provided buffer |
Method Detail |
---|
void readMetadata(PktBuffer buffer)
buffer
- The buffer to read the (serialized form of) metadata intovoid read(IStoreReader.ReadCallback callback) throws Exception
This method is equivalent to calling read(callback, 0)
callback
- The callback used to return the read entries to the caller.
Exception
void read(IStoreReader.ReadCallback callback, int flags) throws Exception
callback
- The callback used to return the read entries to the caller.flags
- Flags that qualify read operations.
Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |