private int compareTo(DistributedMember o, boolean compareMemberData, boolean compareViewIds) {
    if (this == o) {
      return 0;
    }
    // obligatory type check
    if (!(o instanceof InternalDistributedMember)) {
      throw new ClassCastException(
          "InternalDistributedMember.compareTo(): comparison between different classes");
    }
    InternalDistributedMember other = (InternalDistributedMember) o;

    return compareTo(other.memberIdentifier, compareMemberData, compareViewIds);
  }
Returns this client member's durable attributes or null if no durable attributes were created.
geode-core/src/main/java/org/apache/geode/distributed/internal/membership/InternalDistributedMember.java