I keep running into things that the dunit tests are doing in a client cache
that cannot be done with non-deprecated APIs.

Is there a non-deprecated way to create a PERSISTENT_REPLICATE region in a
client cache?

      AttributesFactory factory = new AttributesFactory();
      factory.setDataPolicy(DataPolicy.PERSISTENT_REPLICATE);
      factory.setPoolName(pool.getName());
      factory.setScope(Scope.DISTRIBUTED_ACK);

...compared to...

      ClientRegionFactory crf =
clientCacheRule.getClientCache().createClientRegionFactory(ClientRegionShortcut.NOTHING_FITS);
      crf.setPoolName(pool.getName());

Reply via email to