@Beta public final class ConnectionPoolOpenedEvent extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private ServerId |
serverId |
private ConnectionPoolSettings |
settings |
| 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() |
private final ServerId serverId
private final ConnectionPoolSettings settings
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