Package com.mongodb.connection
Class ClusterId
- java.lang.Object
-
- com.mongodb.connection.ClusterId
-
@Deprecated(since="2021-05-27") public final class ClusterId extends java.lang.ObjectDeprecated.Usage of this API is not supported in AEM as a Cloud Service.A client-generated identifier that uniquely identifies a connection to a MongoDB cluster, which could be sharded, replica set, or standalone.- Since:
- 3.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(java.lang.Object o)Deprecated.java.lang.StringgetDescription()Deprecated.Gets the user defined description of the MongoClient.java.lang.StringgetValue()Deprecated.Gets the value of the identifier.inthashCode()Deprecated.java.lang.StringtoString()Deprecated.
-
-
-
Method Detail
-
getValue
public java.lang.String getValue()
Deprecated.Gets the value of the identifier.- Returns:
- the value
-
getDescription
public java.lang.String getDescription()
Deprecated.Gets the user defined description of the MongoClient.- Returns:
- the user defined description of the MongoClient
-
equals
public boolean equals(java.lang.Object o)
Deprecated.- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
Deprecated.- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toStringin classjava.lang.Object
-
-