private void endSplit() {
    try {
      dataOut.flush();
    } catch (IOException ignored) {
    }
    try {
      output.close();
    } catch (IOException ex) {
      System.err.println("[warning] could not close " + getOutputName());
    }
  }
Returns true if token read, false if eof.
geode-core/src/main/java/org/apache/geode/internal/statistics/ArchiveSplitter.java