Package org.eclnt.ccee.db.dofw
Class DBConnectionPoolDefaultConnectionChecker
java.lang.Object
org.eclnt.ccee.db.dofw.DBConnectionPoolDefaultConnectionChecker
- All Implemented Interfaces:
IDBConnectionPoolConnectionChecker
public class DBConnectionPoolDefaultConnectionChecker
extends Object
implements IDBConnectionPoolConnectionChecker
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
checkConnection
(Connection connection) Each connection is checked after it was picked from pool.
-
Constructor Details
-
DBConnectionPoolDefaultConnectionChecker
public DBConnectionPoolDefaultConnectionChecker()
-
-
Method Details
-
checkConnection
Description copied from interface:IDBConnectionPoolConnectionChecker
Each connection is checked after it was picked from pool. The check need to test if this connection is still usable.- Specified by:
checkConnection
in interfaceIDBConnectionPoolConnectionChecker
- Returns:
- true => connection is usable, false => connection is not usable
-