private void putEntry(final VM memberVM, Object key, Object value) {
    memberVM.invoke("putEntry", () -> {
      Cache cache = managementTestRule.getCache();
      Region region = cache.getRegion(REGION_NAME);
      region.put(key, value);
    });
  }
Compact a disk store from managerVM VM
geode-core/src/distributedTest/java/org/apache/geode/management/DiskManagementDUnitTest.java