void checkListenerEvents(int numberOfEntries, final int sleepMinutes, final int eventType,
      final VM vm) {
    vm.invoke(() -> {
      // Get the region
      Region<Object, Object> region = getCache().getRegion(regionName);
      assertThat(region).isNotNull();

      // Get the listener and wait for the appropriate number of events
      ControlListener controlListener =
          (ControlListener) region.getAttributes().getCacheListeners()[0];
      controlListener.waitWhileNotEnoughEvents(MINUTES.toMillis(sleepMinutes), numberOfEntries,
          controlListener.getEvents(eventType));
    });
  }
Returns the durable client proxy's HARegionQueue region name. This method is accessed via
reflection on a server VM.

@return the durable client proxy's HARegionQueue region name
geode-cq/src/distributedTest/java/org/apache/geode/internal/cache/tier/sockets/DurableClientTestBase.java