public static long getStorefilesSize(Collection<HStoreFile> files,
    Predicate<HStoreFile> predicate) {
    return files.stream().filter(predicate)
      .mapToLong(file -> getStorefileFieldSize(file, StoreFileReader::length)).sum();
  }
Returns the configured bytesPerChecksum value.
@param conf The configuration
@return The bytesPerChecksum that is set in the configuration
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/StoreUtils.java