protected Region createAckRegion(boolean mirror,boolean conflate) throws CacheException {
  final AttributesFactory factory=new AttributesFactory();
  factory.setScope(Scope.DISTRIBUTED_ACK);
  if (mirror) {
    factory.setDataPolicy(DataPolicy.REPLICATE);
  }
  if (conflate) {
    factory.setEnableAsyncConflation(true);
  }
  final Region r=createRootRegion("AckRegion",factory.create());
  return r;
}

protected Region createAckRegion ( boolean mirror , boolean conflate ) throws CacheException { final AttributesFactory factory = new AttributesFactory ( ) ; factory . setScope ( Scope . DISTRIBUTED_ACK ) ; if ( mirror ) { factory . setDataPolicy ( DataPolicy . REPLICATE ) ; } if ( conflate ) { factory . setEnableAsyncConflation ( true ) ; } final Region r = createRootRegion ( "AckRegion" , factory . create ( ) ) ; return r ; }
create a region named ackregion with ack scope
