mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-18 14:58:47 +00:00
No effective change - Code cleanup,remove unnecessary public modifier on interfaces
This commit is contained in:
1 parent
ede91ecf78
commit
f78c217d83
8 files changed
+70
-71
No files matched your search
@@ -13,15 +13,15 @@ public interface DataSourceAlert {
|
||||
/**
|
||||
* Send an alert to say the dataSource is back up.
|
||||
*/
|
||||
public void dataSourceUp(String dataSourceName);
|
||||
void dataSourceUp(String dataSourceName);
|
||||
|
||||
/**
|
||||
* Send an alert to say the dataSource is down.
|
||||
*/
|
||||
public void dataSourceDown(String dataSourceName);
|
||||
void dataSourceDown(String dataSourceName);
|
||||
|
||||
/**
|
||||
* Send an alert to say the dataSource is getting close to its max size.
|
||||
*/
|
||||
public void dataSourceWarning(String subject, String msg);
|
||||
void dataSourceWarning(String subject, String msg);
|
||||
}
|
||||
@@ -24,11 +24,11 @@ public interface DataSourcePoolListener {
|
||||
/**
|
||||
* Called after a connection has been retrieved from the connection pool
|
||||
*/
|
||||
public void onAfterBorrowConnection(Connection c);
|
||||
void onAfterBorrowConnection(Connection c);
|
||||
|
||||
/**
|
||||
* Called before a connection will be put back to the connection pool
|
||||
*/
|
||||
public void onBeforeReturnConnection(Connection c);
|
||||
void onBeforeReturnConnection(Connection c);
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user