@Override
  public List<Path> close() throws IOException {
    boolean isSuccessful = true;
    try {
      isSuccessful = finishWriterThreads();
    } finally {
      isSuccessful &= writeRemainingEntryBuffers();
    }
    return isSuccessful ? splits : null;
  }
Class that manages the output streams from the log splitting process. Every region may have many
recovered edits file. But the opening writers is bounded. Bounded means the output streams will
be no more than the size of threadpool.
hbase-server/src/main/java/org/apache/hadoop/hbase/wal/BoundedRecoveredEditsOutputSink.java