Re: Trying to cleanup dunit use of client cache

2018-03-09 Thread Michael Stolz
I haven't encountered a customer using a persistent region on a client in many years. Maybe that entire construct should be deprecated on a ClientCache. -- Mike Stolz Principal Engineer - Gemfire Product Manager Mobile: 631-835-4771 On Mar 9, 2018 3:39 PM, "Kirk Lund" wrote: > And I can't invok

Re: Trying to cleanup dunit use of client cache

2018-03-09 Thread Kirk Lund
And I can't invoke createRegionFactory(RegionShortcut.REPLICATE_PERSISTENT) because ClientCache throws UnsupportedOperationException for it... /** * @since GemFire 6.5 */ @Override public RegionFactory createRegionFactory(RegionShortcut shortcut) { if (isClient()) { throw ne

Trying to cleanup dunit use of client cache

2018-03-09 Thread Kirk Lund
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