public double getHitRatio() {
    return count.get() == 0 ? 0 : ((float) (count.get() - miss.sum())) / (float) count.get();
  }
Gets the hit ratio to the mob file cache.
@return The hit ratio to the mob file cache.
hbase-server/src/main/java/org/apache/hadoop/hbase/mob/MobFileCache.java