private void definePersistentAEQ(Cache cache, String id, boolean persistent) {
    AsyncEventListener al = events -> true;

    cache.createAsyncEventQueueFactory().setPersistent(persistent).create(id, al);
  }
Test that loner VMs lazily determine if they are a client or a peer.
geode-core/src/distributedTest/java/org/apache/geode/pdx/PdxAttributesDistributedTest.java