Package com.mongodb.event
Class ClusterClosedEvent
- java.lang.Object
-
- com.mongodb.event.ClusterClosedEvent
-
@Deprecated(since="2021-05-27") public final class ClusterClosedEvent extends java.lang.Object
Deprecated.Usage of this API is not supported in AEM as a Cloud Service.A cluster closed event.- Since:
- 3.3
-
-
Constructor Summary
Constructors Constructor Description ClusterClosedEvent(ClusterId clusterId)
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.java.lang.String
toString()
Deprecated.
-
-
-
Constructor Detail
-
ClusterClosedEvent
public ClusterClosedEvent(ClusterId clusterId)
Deprecated.Constructs a new instance of the event.- Parameters:
clusterId
- the cluster id
-
-
Method Detail
-
getClusterId
public ClusterId getClusterId()
Deprecated.Gets the cluster id associated with this event.- Returns:
- the cluster id
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toString
in classjava.lang.Object
-
-