/** * @return a ReplayPosition which, if >= one returned from add(), implies add() was started * (but not necessarily finished) prior to this call */ public ReplayPosition getContext() { return allocator.allocatingFrom().getContext(); }
final ReplayPosition maxReplayPosition = segments.get(segments.size() - 1).getContext(); segment.markClean(dirtyCFId, segment.getContext());
segment.markClean(cfId, segment.getContext());