public static CachedBlocksByFile getLoadedCachedBlocksByFile(final Configuration conf,
    final BlockCache bc) {
    CachedBlocksByFile cbsbf = new CachedBlocksByFile(conf);
    for (CachedBlock cb : bc) {
      if (cbsbf.update(cb)) break;
    }
    return cbsbf;
  }
Get a {@link CachedBlocksByFile} instance and load it up by iterating content in
{@link BlockCache}.
@param conf Used to read configurations
@param bc   Block Cache to iterate.
@return Laoded up instance of CachedBlocksByFile
hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/BlockCacheUtil.java