public static Stats getStats(DirIndex dirIndex) {
    Stats stats = new Stats();
    updateStats(dirIndex, stats);
    return stats;
  }
Representation of a directory in the blob store
samza-core/src/main/java/org/apache/samza/storage/blobstore/index/DirIndex.java