|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public static interface RogLogCompactionReader.ReadHandler
Interface through which compacted reads and dispatched to caller
| Nested Class Summary | |
|---|---|
static class |
RogLogCompactionReader.ReadHandler.ChangeType
Enumerates the various types of change for an object that can be reported by the compaction reader. |
| Method Summary | |
|---|---|
void |
handleChange(RogLogCompactionReader.ReadHandler.ChangeType changeType,
List<RogLog.Entry> entries)
Called to notify about a change. |
void |
onCheckpointComplete(long checkpointVersion)
Dispatched when the processing of a checkpoint has completed |
void |
onCheckpointStart(long checkpointVersion)
Dispatched when the processing of a new checkpoint is started |
void |
onWait()
Dispatched when waiting for more entries to enter the log This event is dispatched once each time the reader reaches the end of a log and it waits for a new entry to be added to the log. |
| Method Detail |
|---|
void onCheckpointStart(long checkpointVersion)
checkpointVersion - The checkpoint number
void handleChange(RogLogCompactionReader.ReadHandler.ChangeType changeType,
List<RogLog.Entry> entries)
changeType - The change being reportedentries - The set of entries that list the operations performed on
the object within the checkpoint being processed.void onCheckpointComplete(long checkpointVersion)
checkpointVersion - The checkpoint numbervoid onWait()
This event is dispatched once each time the reader reaches the end of a log and it waits for a new entry to be added to the log. This event is dispatched maximum of once per checkpoint in the log.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||