public static InternalDistributedSystem unsafeGetConnectedInstance() {
    InternalDistributedSystem result = getAnyInstance();
    if (result != null) {
      if (!result.isConnected()) {
        result = null;
      }
    }
    return result;
  }
Returns the current distributed system, if there is one. Note: this method is no longer unsafe
size existingSystems uses copy-on-write.
<p>
author bruce

@since GemFire 5.0
geode-core/src/main/java/org/apache/geode/distributed/internal/InternalDistributedSystem.java