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 ValidConnectionChecker
c
- the connectionpublic int getPingTimeOut()
public void setPingTimeOut(int v)
v
- The pingTimeOut to set.Copyright © 2021 JBoss by Red Hat. All rights reserved.