Package com.mongodb.connection
Class ServerId
java.lang.Object
com.mongodb.connection.ServerId
Deprecated.
Usage of this API is not supported in AEM as a Cloud Service.
A client-generated identifier that uniquely identifies a MongoDB server.
- Since:
- 3.0
-
Constructor Summary
ConstructorsConstructorDescriptionServerId
(ClusterId clusterId, ServerAddress address) Deprecated.Construct an instance. -
Method Summary
-
Constructor Details
-
ServerId
Deprecated.Construct an instance.- Parameters:
clusterId
- the client-generated cluster identifieraddress
- the server address
-
-
Method Details
-
getClusterId
Deprecated.Gets the cluster identifier.- Returns:
- the cluster identifier
-
getAddress
Deprecated.Gets the server address.- Returns:
- the server address
-
equals
Deprecated. -
hashCode
public int hashCode()Deprecated. -
toString
Deprecated.
-