@Test
  public void testNetSearch() throws CacheException {
    final String name = getUniqueName() + "-ACK";
    final String objectName = "NetSearchKey";
    final Integer value = 440;

    vm0.invoke("Create ACK Region", new SerializableRunnable() {
      @Override
      public void run() {
        try {
          RegionFactory<Object, Object> factory = getCache().createRegionFactory();
          factory.setScope(Scope.DISTRIBUTED_ACK);
          factory.setStatisticsEnabled(true);
          Region<Object, Object> region = createRegion(name, factory);
          region.create(objectName, null);
        } catch (CacheException ex) {
          fail("While creating ACK region", ex);
        }
      }
    });

    vm1.invoke("Create ACK Region", new SerializableRunnable() {
      @Override
      public void run() {
        try {

          RegionFactory<Object, Object> factory = getCache().createRegionFactory();
          factory.setScope(Scope.DISTRIBUTED_ACK);
          factory.setStatisticsEnabled(true);
          Region<Object, Object> region = createRegion(name, factory);
          region.put(objectName, value);
        } catch (CacheException ex) {
          fail("While creating ACK region", ex);
        }
      }
    });

    vm2.invoke("Create ACK Region", new SerializableRunnable() {
      @Override
      public void run() {
        try {
          RegionFactory<Object, Object> factory = getCache().createRegionFactory();
          factory.setScope(Scope.DISTRIBUTED_ACK);
          factory.setStatisticsEnabled(true);
          Region<Object, Object> region = createRegion(name, factory);
          region.create(objectName, null);
        } catch (CacheException ex) {
          fail("While creating ACK region", ex);
        }
      }
    });

    vm0.invoke("Get a value", new SerializableRunnable() {
      @Override
      public void run() {
        try {
          Object result = getRootRegion().getSubregion(name).get(objectName);
          assertThat(value).isEqualTo(result);
        } catch (CacheLoaderException | TimeoutException cle) {
          fail("While Get a value", cle);
        }
      }
    });
  }
Returns region attributes for a <code>GLOBAL</code> region
geode-core/src/distributedTest/java/org/apache/geode/cache30/SearchAndLoadDUnitTest.java