public void prepareForClose() {
    forceFlush();
    getPersistentOplogs().prepareForClose();
    closeCompactor(true);
  }
Called before LocalRegion clears the contents of its entries map
geode-core/src/main/java/org/apache/geode/internal/cache/DiskStoreImpl.java