get Cluster Description
Gets the current cluster description.
This method will not block, meaning that it may return a ClusterDescription whose clusterType
is unknown and whose com.mongodb.connection.ServerDescriptions are all in the connecting state. If the application requires notifications after the driver has connected to a member of the cluster, it should register a com.mongodb.event.ClusterListener via the com.mongodb.connection.ClusterSettings in com.mongodb.MongoClientSettings.
Return
the current cluster description
See also
Cluster Settings. Builder. add Cluster Listener
Mongo Client Settings. Builder. apply To Cluster Settings