public void shipBatch(long batchSize, int sizeInBytes, long hfiles) {
    shipBatch(batchSize, sizeInBytes);
    singleSourceSource.incrHFilesShipped(hfiles);
    globalSourceSource.incrHFilesShipped(hfiles);
  }
Convience method to apply changes to metrics do to shipping a batch of logs.
@param batchSize the size of the batch that was shipped to sinks.
@param hfiles    total number of hfiles shipped to sinks.
hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/MetricsSource.java