private long getWriteRequestCount() {
    long writeCount = 0;
    for (Map.Entry<String, HRegion> e : this.onlineRegions.entrySet()) {
      writeCount += e.getValue().getWriteRequestsCount();
    }
    return writeCount;
  }
Returns Current write count for all online regions.
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java