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