
public class GoodForSecondsValidConnectionChecker extends JDBC4ValidConnectionChecker
| Constructor and Description |
|---|
GoodForSecondsValidConnectionChecker()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.sql.SQLException |
isValidConnection(java.sql.Connection c)
Checks the connection is valid
|
void |
setGoodForSeconds(int v)
Set the good for seconds
|
void |
setMaxKeepSize(int v)
Set the max keep size
|
getPingTimeOut, setPingTimeOutpublic GoodForSecondsValidConnectionChecker()
public java.sql.SQLException isValidConnection(java.sql.Connection c)
isValidConnection in interface ValidConnectionCheckerisValidConnection in class JDBC4ValidConnectionCheckerc - the connectionpublic void setGoodForSeconds(int v)
v - The valuepublic void setMaxKeepSize(int v)
v - The valueCopyright © 2014 IronJacamar (http://www.ironjacamar.org)