try {
Segment s;
s = liveLog.findFollowingSegment(segment.timestamp);
if (s == null) {
// end of read process
page.unset_next_page_token();
} else {
token.set_next_timestamp(s.timestamp);
}
} catch (MissingSegmentException e) {
throw new RuntimeException("INVALID TOKEN", e);