Package com.mongodb
Class Tag
-
- com.mongodb.Tag
-
@Immutable public final class Tag extends
A replica set tag.- Since:
- 2.13
- MongoDB documentation
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
o)
getName()
Gets the name of the replica set tag.getValue()
Gets the value of the replica set tag.int
hashCode()
toString()
-
-
-
Method Detail
-
getName
public getName()
Gets the name of the replica set tag.- Returns:
- the name
-
getValue
public getValue()
Gets the value of the replica set tag.- Returns:
- the value
-
equals
public boolean equals( o)
- Overrides:
in class
-
hashCode
public int hashCode()
- Overrides:
in class
-
toString
public toString()
- Overrides:
in class
-
-