Package com.mongodb.event
Class ConnectionPoolClosedEvent
- java.lang.Object
-
- com.mongodb.event.ConnectionPoolClosedEvent
-
@Deprecated(since="2021-05-27") public final class ConnectionPoolClosedEvent extends java.lang.Object
Deprecated.Usage of this API is not supported in AEM as a Cloud Service.An event signifying the closing of a connection pool.- Since:
- 3.5
-
-
Constructor Summary
Constructors Constructor Description ConnectionPoolClosedEvent(ServerId serverId)
Deprecated.Constructs a new instance of the event.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ServerId
getServerId()
Deprecated.Gets the server idjava.lang.String
toString()
Deprecated.
-
-
-
Constructor Detail
-
ConnectionPoolClosedEvent
public ConnectionPoolClosedEvent(ServerId serverId)
Deprecated.Constructs a new instance of the event.- Parameters:
serverId
- the server ide
-
-
Method Detail
-
getServerId
public ServerId getServerId()
Deprecated.Gets the server id- Returns:
- the server id
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toString
in classjava.lang.Object
-
-