public int getInflightWALCloseCount() {
    return inflightWALClosures.size();
  }
Returns number of WALs currently in the process of closing.
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/AbstractFSWAL.java