@Override
  public String toString() {
    return "PortRangeContext{" +
      "availablePorts=" + availablePorts +
      ", membershipPorts=" + membershipPorts +
      '}';
  }
Configure the process builder to add this context's port ranges as system properties for the
process being launched.
build-tools/geode-testing-isolation/src/main/java/org/apache/geode/gradle/testing/isolation/PortRangeContext.java