protected void registerInterest(VM vm, final String regionName, final boolean durable,
      final InterestResultPolicy interestResultPolicy) {
    vm.invoke("Register interest on region : " + regionName, new CacheSerializableRunnable() {
      @Override
      public void run2() throws CacheException {

        Region<Object, Object> region = getCache().getRegion(regionName);
        assertThat(region).isNotNull();

        // Register interest in all keys
        region.registerInterestRegex(".*", interestResultPolicy, durable);
      }
    });

    // This seems to be necessary for the queue to start up. Ideally should be replaced with
    // Awaitility if possible.
    try {
      java.lang.Thread.sleep(5000);
    } catch (java.lang.InterruptedException ex) {
      fail("interrupted");
    }
  }
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