@Override
  public DistributedMember getMemberWithName(String name) {
    for (DistributedMember id : canonicalIds.values()) {
      if (Objects.equals(id.getName(), name)) {
        return id;
      }
    }
    if (Objects.equals(localAddress.getName(), name)) {
      return localAddress;
    }
    return null;
  }
Creates a new local distribution manager

@param system The distributed system to which this distribution manager will send messages.
geode-core/src/main/java/org/apache/geode/distributed/internal/LonerDistributionManager.java