Package com.mongodb
Class TagSet
java.lang.Object
com.mongodb.TagSet
@Immutable
@Deprecated(since="2021-05-27")
public final class TagSet
extends Object
implements Iterable<Tag>
Deprecated.
Usage of this API is not supported in AEM as a Cloud Service.
An immutable set of tags, used to select members of a replica set to use for read operations.
- Since:
- 2.13
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
TagSet
public TagSet()Deprecated.An empty set of tags. -
TagSet
Deprecated.A set of tags contain the single given tag- Parameters:
tag- the tag
-
TagSet
Deprecated.A set of tags containing the given list of tags.- Parameters:
tagList- the list of tags
-
-
Method Details
-
iterator
Deprecated. -
containsAll
Deprecated.Returnstrueif this tag set contains all of the elements of the specified tag set.- Parameters:
tagSet- tag set to be checked for containment in this tag set- Returns:
trueif this tag set contains all of the elements of the specified tag set
-
equals
Deprecated. -
hashCode
public int hashCode()Deprecated. -
toString
Deprecated.
-