private void createRegion(final RegionShortcut shortcut, final boolean overflow)
      throws IOException {
    Cache cache = cacheRule.getOrCreateCache();
    DiskStoreFactory diskStoreFactory = cache.createDiskStoreFactory();
    diskStoreFactory.setDiskDirs(getDiskDirs());
    DiskStore diskStore = diskStoreFactory.create(testName.getMethodName());

    RegionFactory<Integer, byte[]> regionFactory = cache.createRegionFactory(shortcut);
    regionFactory.setDiskStoreName(diskStore.getName());
    regionFactory.setDiskSynchronous(true);

    if (overflow) {
      regionFactory
          .setEvictionAttributes(createLRUEntryAttributes(LRU_ENTRY_COUNT, OVERFLOW_TO_DISK));
    }

    PartitionAttributesFactory<Integer, byte[]> paf = new PartitionAttributesFactory<>();
    paf.setRedundantCopies(0);
    paf.setTotalNumBuckets(TOTAL_NUMBER_BUCKETS);
    regionFactory.setPartitionAttributes(paf.create());

    regionFactory.create(REGION_NAME);
  }
Return the actual values for entries in the jvm (in memory) and entries on disk. These values
are the sum of all buckets in the current member.

@return [0] total entries in VM [1] total entries on disk
geode-core/src/distributedTest/java/org/apache/geode/internal/cache/partitioned/BucketRebalanceStatRegressionTest.java