@FunctionalInterface
public static interface TermGapScanner.GapHandler
| Modifier and Type | Method and Description |
|---|---|
void |
onGap(int termId,
org.agrona.concurrent.UnsafeBuffer buffer,
int offset,
int length)
Gap detected in log buffer that is being rebuilt.
|
void onGap(int termId,
org.agrona.concurrent.UnsafeBuffer buffer,
int offset,
int length)
termId - active term being scanned.buffer - containing the gap.offset - at which the gap begins.length - of the gap in bytes.Copyright © 2014 - 2016 Real Logic Ltd. All Rights Reserved.