code: @Deprecated
      public List<ServerDescription> getAnyPrimaryOrSecondary() {
          return getServersByPredicate(new Predicate() {
              public boolean apply(final ServerDescription serverDescription) {
                  return serverDescription.isPrimary() || serverDescription.isSecondary();
              }
          });
      }
docs: Gets a list of all the primaries and secondaries in this cluster.
  
  @return a list of ServerDescriptions for all primary and secondary servers
  @deprecated Replace with a filter on ServerDescription in the caller