All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.avaje.ebeaninternal.server.lib.sql.DataSourceNotify Maven / Gradle / Ivy

There is a newer version: 2.8.1
Show newest version
package com.avaje.ebeaninternal.server.lib.sql;

/**
 * Listener for notifications about the DataSource such as when the DataSource
 * goes down, up or gets close to it's maximum size.
 * 

* The intention is to send email notifications to an administrator (or similar) * when these events occur on the DataSource. *

*/ public interface DataSourceNotify { /** * Send an alert to say the dataSource is back up. */ public void notifyDataSourceUp(String dataSourceName); /** * Send an alert to say the dataSource is down. */ public void notifyDataSourceDown(String dataSourceName); /** * Send an alert to say the dataSource is getting close to its max size. */ public void notifyWarning(String subject, String msg); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy