Package com.mongodb.event
Class ConnectionPoolCreatedEvent
java.lang.Object
com.mongodb.event.ConnectionPoolCreatedEvent
An event signifying that a connection pool was created.
- Since:
- 4.0
-
Constructor Summary
ConstructorDescriptionConnectionPoolCreatedEvent
(ServerId serverId, ConnectionPoolSettings settings) Constructs a new instance of the event. -
Method Summary
Modifier and TypeMethodDescriptionGets the server idGets the connection pool settings.toString()
-
Constructor Details
-
ConnectionPoolCreatedEvent
Constructs a new instance of the event.- Parameters:
serverId
- the server idsettings
- the connection pool settings
-
-
Method Details