- getAny
Gets a list of ServerDescriptions for all the servers in this cluster which are
currently accessible
- getAnyPrimaryOrSecondary
Gets a list of all the primaries and secondaries in this cluster that match the
given replica set ta
- getConnectionMode
Gets whether this cluster is connecting to a single server or multiple servers.
- getLogicalSessionTimeoutMinutes
Gets the logical session timeout in minutes, or null if at least one of the
known servers does not s
- getServerDescriptions
Returns an unmodifiable list of the server descriptions in this cluster
description.
- getType
Gets the specific type of this cluster
- <init>
Creates a new ClusterDescription.
- getPrimaries
While it may seem counter-intuitive that a MongoDB cluster can have more than
one primary, it can in
- getShortDescription
Returns a short, pretty description for this ClusterDescription.
- findServerIncompatiblyNewerThanDriver
Return a server in the cluster that is incompatibly newer than the driver.
- findServerIncompatiblyOlderThanDriver
Return a server in the cluster that is incompatibly older than the driver.
- getByServerAddress
Returns the ServerDescription for the server at the given address