Package com.mongodb.event
Class ServerClosedEvent
- java.lang.Object
-
- com.mongodb.event.ServerClosedEvent
-
@Deprecated(since="2021-05-27") public final class ServerClosedEvent extends java.lang.Object
Deprecated.Usage of this API is not supported in AEM as a Cloud Service.A server opening event.- Since:
- 3.3
-
-
Constructor Summary
Constructors Constructor Description ServerClosedEvent(ServerId serverId)
Deprecated.Construct an instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ServerId
getServerId()
Deprecated.Gets the serverId.java.lang.String
toString()
Deprecated.
-
-
-
Constructor Detail
-
ServerClosedEvent
public ServerClosedEvent(ServerId serverId)
Deprecated.Construct an instance.- Parameters:
serverId
- the non-null serverId
-
-
Method Detail
-
getServerId
public ServerId getServerId()
Deprecated.Gets the serverId.- Returns:
- the serverId
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toString
in classjava.lang.Object
-
-