public interface DataSourceAlert
The intention is to send email notifications to an administrator (or similar) when these events occur on the DataSource.
| Modifier and Type | Method and Description |
|---|---|
void |
dataSourceDown(DataSource dataSource,
SQLException reason)
Send an alert to say the dataSource is down.
|
void |
dataSourceUp(DataSource dataSource)
Send an alert to say the dataSource is back up.
|
void |
dataSourceWarning(DataSource dataSource,
String msg)
Send an alert to say the dataSource is getting close to its max size.
|
void dataSourceUp(DataSource dataSource)
void dataSourceDown(DataSource dataSource, SQLException reason)
void dataSourceWarning(DataSource dataSource, String msg)
Copyright © 2019. All rights reserved.