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.Object
Deprecated.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 boolean
equals(java.lang.Object o)
Deprecated.java.lang.String
getDescription()
Deprecated.Gets the user defined description of the MongoClient.java.lang.String
getValue()
Deprecated.Gets the value of the identifier.int
hashCode()
Deprecated.java.lang.String
toString()
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:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
Deprecated.- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toString
in classjava.lang.Object
-
-