Package com.mongodb.event
Class ClusterDescriptionChangedEvent
- java.lang.Object
-
- com.mongodb.event.ClusterDescriptionChangedEvent
-
@Deprecated(since="2021-05-27") public final class ClusterDescriptionChangedEvent extends java.lang.Object
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
Constructors Constructor Description ClusterDescriptionChangedEvent(ClusterId clusterId, ClusterDescription newDescription, ClusterDescription previousDescription)
Deprecated.Constructs a new instance of the event.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ClusterId
getClusterId()
Deprecated.Gets the cluster id associated with this event.ClusterDescription
getNewDescription()
Deprecated.Gets the new cluster description.ClusterDescription
getPreviousDescription()
Deprecated.Gets the previous cluster description.java.lang.String
toString()
Deprecated.
-
-
-
Constructor Detail
-
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 Detail
-
getClusterId
public ClusterId getClusterId()
Deprecated.Gets the cluster id associated with this event.- Returns:
- the cluster id
-
getNewDescription
public ClusterDescription getNewDescription()
Deprecated.Gets the new cluster description.- Returns:
- the cluster description
-
getPreviousDescription
public ClusterDescription getPreviousDescription()
Deprecated.Gets the previous cluster description.- Returns:
- the previous cluster description
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toString
in classjava.lang.Object
-
-