
public class JDBC4ValidConnectionChecker extends Object implements ValidConnectionChecker, Serializable
| Constructor and Description |
|---|
JDBC4ValidConnectionChecker()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
int |
getPingTimeOut()
Get the pingTimeOut.
|
SQLException |
isValidConnection(Connection c)
Checks the connection is valid
|
void |
setPingTimeOut(int v)
Set the pingTimeOut.
|
public SQLException isValidConnection(Connection c)
isValidConnection in interface ValidConnectionCheckerc - the connectionpublic int getPingTimeOut()
public void setPingTimeOut(int v)
v - The pingTimeOut to set.Copyright © 2014 IronJacamar (http://www.ironjacamar.org)