public final class ConnectionPoolOpenedEvent extends Object
Constructor and Description |
---|
ConnectionPoolOpenedEvent(ServerId serverId,
ConnectionPoolSettings settings)
Constructs a new instance of the event.
|
Modifier and Type | Method and Description |
---|---|
ServerId |
getServerId()
Gets the server id
|
ConnectionPoolSettings |
getSettings()
Gets the connection pool settings.
|
String |
toString() |
public ConnectionPoolOpenedEvent(ServerId serverId, ConnectionPoolSettings settings)
serverId
- the server idsettings
- the connection pool settingspublic ServerId getServerId()
public ConnectionPoolSettings getSettings()