@Override
  protected void before() {
    if (createCacheInAll) {
      invoker().invokeInEveryVMAndController(() -> createCache(config(), systemProperties));
    } else {
      if (createCache) {
        createCache(config(), systemProperties);
      }
      for (VM vm : createCacheInVMs) {
        vm.invoke(() -> createCache(config(), systemProperties));
      }
    }
  }
Use {@code Builder} for more options in constructing {@code CacheRule}.

@return a new {@code Builder}
geode-dunit/src/main/java/org/apache/geode/test/dunit/rules/CacheRule.java