public long getAllocationFailCount() {
    return allocationFailCount.sum();
  }
Class that implements cache metrics for bucket cache.
hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/bucket/BucketCacheStats.java