@Override
    public void beforeDestroy(EntryEvent event) {
      try {
        beforeDestroyLatch.countDown();
        allowDestroys.await();
      } catch (InterruptedException e) {
        throw new RuntimeException(e);
      }
    }
Tests the basic use cases for PR persistence.
geode-core/src/distributedTest/java/org/apache/geode/internal/cache/partitioned/PersistPRKRFIntegrationTest.java