@Override
  public Optional<BlockCache> getBlockCache() {
    return Optional.ofNullable(this.blockCache);
  }
May be null if this is a master which not carry table.
@return The block cache instance used by the regionserver.
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java