public final class ConnectionPoolOpenedEvent
extends java.lang.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.
|
java.lang.String |
toString() |
public ConnectionPoolOpenedEvent(ServerId serverId, ConnectionPoolSettings settings)
serverId
- the server idsettings
- the connection pool settingspublic ServerId getServerId()
public ConnectionPoolSettings getSettings()
public java.lang.String toString()
toString
in class java.lang.Object