code: @Deprecated
      public Set<ServerDescription> getAll() {
          Set<ServerDescription> serverDescriptionSet = new TreeSet<ServerDescription>(new Comparator<ServerDescription>() {
              @Override
              public int compare(final ServerDescription o1, final ServerDescription o2) {
                  int val = o1.getAddress().getHost().compareTo(o2.getAddress().getHost());
                  if (val != 0) {
                      return val;
                  }
                  return integerCompare(o1.getAddress().getPort(), o2.getAddress().getPort());
              }
  
              private int integerCompare(final int p1, final int p2) {
                  return (p1 < p2) ? -1 : ((p1 == p2) ? 0 : 1);
              }
          });
          serverDescriptionSet.addAll(serverDescriptions);
          return Collections.unmodifiableSet(serverDescriptionSet);
      }
docs: Returns the Set of all server descriptions in this cluster, sorted by the String value of the ServerAddress of each one.
  
  @return the set of server descriptions
  @deprecated Use {@link #getServerDescriptions()} instead