public void applyBatch(long batchSize) {
    mss.incrAppliedBatches(1);
    mss.incrAppliedOps(batchSize);
  }
Convience method to change metrics when a batch of operations are applied.
hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/MetricsSink.java