driver-core/src/main/com/mongodb/connection/ClusterDescription.java
@Deprecated
    public List<ServerDescription> getSecondaries(final TagSet tagSet) {
        return getServersByPredicate(new Predicate() {
            public boolean apply(final ServerDescription serverDescription) {
                return serverDescription.isSecondary() && serverDescription.hasTags(tagSet);
            }
        });
    }
@Deprecated
    public List<ServerDescription> getSecondaries(final TagSet tagSet) {
        return getServersByPredicate(new Predicate() {
            public boolean apply(final ServerDescription serverDescription) {
                return serverDescription.isSecondary() && serverDescription.hasTags(tagSet);
            }
        });
    }
Get a list of all the secondaries in this cluster that match a given TagSet

@param tagSet a Set of replica set tags
@return a List of ServerDescriptions of all the secondaries this cluster that match all of the given tags
@deprecated Replace with a filter on ServerDescription in the caller