public final class ConnectionPoolOpenedEvent extends Object
Constructor | Description |
---|---|
ConnectionPoolOpenedEvent(ServerId serverId,
ConnectionPoolSettings settings) |
Constructs a new instance of the event.
|
Modifier and Type | Method | 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()