Package com.mongodb.event
Class ConnectionPoolClearedEvent
- java.lang.Object
-
- com.mongodb.event.ConnectionPoolClearedEvent
-
public final class ConnectionPoolClearedEvent extends Object
An event signifying when a connection pool is cleared.- Since:
- 4.0
-
-
Constructor Summary
Constructors Constructor Description ConnectionPoolClearedEvent(ServerId serverId)
Constructs a new instance of the event.
-
-
-
Constructor Detail
-
ConnectionPoolClearedEvent
public ConnectionPoolClearedEvent(ServerId serverId)
Constructs a new instance of the event.- Parameters:
serverId
- the server id
-
-