class AbstractResumeBreakPointManager implements ResumeBreakPointManager, Closeable {

    protected final String getIncrementalPositionData() {
        JsonObject result = new JsonObject();
        for (Entry<String, PositionManager<IncrementalPosition>> entry : incrementalPositionManagerMap.entrySet()) {
            result.add(entry.getKey(), entry.getValue().getPosition().toJson());
        }
        return result.toString();
    }

}