class ConnectionPoolOpenedEvent extends ConnectionPoolEvent
| Modifier and Type | Field and Description |
|---|---|
private ConnectionPoolSettings |
settings |
| Constructor and Description |
|---|
ConnectionPoolOpenedEvent(java.lang.String clusterId,
ServerAddress serverAddress,
ConnectionPoolSettings settings)
Constructs a new instance of the event.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
ConnectionPoolSettings |
getSettings()
Gets the settings for this connection pool.
|
int |
hashCode() |
getServerAddressgetClusterIdprivate final ConnectionPoolSettings settings
public ConnectionPoolOpenedEvent(java.lang.String clusterId,
ServerAddress serverAddress,
ConnectionPoolSettings settings)
clusterId - the cluster idserverAddress - the server addresssettings - the connection pool settingspublic ConnectionPoolSettings getSettings()
public boolean equals(java.lang.Object o)
equals in class ConnectionPoolEventpublic int hashCode()
hashCode in class ConnectionPoolEvent