Package com.mongodb.event
Class ClusterDescriptionChangedEvent
java.lang.Object
com.mongodb.event.ClusterDescriptionChangedEvent
Deprecated.
Usage of this API is not supported in AEM as a Cloud Service.
An event signifying that the cluster description has changed.
- Since:
- 3.3
-
Constructor Summary
ConstructorsConstructorDescriptionClusterDescriptionChangedEvent(ClusterId clusterId, ClusterDescription newDescription, ClusterDescription previousDescription) Deprecated.Constructs a new instance of the event. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Gets the cluster id associated with this event.Deprecated.Gets the new cluster description.Deprecated.Gets the previous cluster description.toString()Deprecated.
-
Constructor Details
-
ClusterDescriptionChangedEvent
public ClusterDescriptionChangedEvent(ClusterId clusterId, ClusterDescription newDescription, ClusterDescription previousDescription) Deprecated.Constructs a new instance of the event.- Parameters:
clusterId- the non-null cluster idnewDescription- the non-null new cluster descriptionpreviousDescription- the non-null previous cluster description
-
-
Method Details
-
getClusterId
Deprecated.Gets the cluster id associated with this event.- Returns:
- the cluster id
-
getNewDescription
Deprecated.Gets the new cluster description.- Returns:
- the cluster description
-
getPreviousDescription
Deprecated.Gets the previous cluster description.- Returns:
- the previous cluster description
-
toString
Deprecated.
-