public void incrementFailedBatches() {
    singleSourceSource.incrFailedBatches();
    globalSourceSource.incrFailedBatches();
  }
Convenience method to update metrics when batch of operations has failed.
hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/MetricsSource.java