public void split() throws IOException {
    boolean done = false;
    do {
      done = true;
      startSplit();
      while (readToken()) {
        if (currentDuration >= splitDuration) {
          done = false;
          break;
        }
      }
      endSplit();
    } while (!done);
  }
Returns true if token read, false if eof.
geode-core/src/main/java/org/apache/geode/internal/statistics/ArchiveSplitter.java