public interface SegmentChangeFetcher
| Modifier and Type | Method and Description |
|---|---|
SegmentChange |
fetch(String segmentName,
long changesSinceThisChangeNumber)
If the segment does not exist, then return the an empty segment change
with the latest change number set to a value less than 0.
|
SegmentChange fetch(String segmentName, long changesSinceThisChangeNumber)
segmentName - the name of the segment to fetch.changesSinceThisChangeNumber - a value less than zero implies that the client is
requesting information on this segment for the first time.RuntimeException - if there was a problem fetching segment changesCopyright © 2019. All rights reserved.