public static OptionalInt getDeterministicRandomSeed(Collection<HStoreFile> files) {
    return files.stream().mapToInt(f -> f.getPath().getName().hashCode()).findFirst();
  }
Creates a deterministic hash code for store file collection.
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/StoreUtils.java