public class GoodForSecondsValidConnectionChecker extends JDBC4ValidConnectionChecker
Constructor and Description |
---|
GoodForSecondsValidConnectionChecker()
Constructor
|
Modifier and Type | Method and Description |
---|---|
SQLException |
isValidConnection(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, setPingTimeOut
public GoodForSecondsValidConnectionChecker()
public SQLException isValidConnection(Connection c)
isValidConnection
in interface ValidConnectionChecker
isValidConnection
in class JDBC4ValidConnectionChecker
c
- the connectionpublic void setGoodForSeconds(int v)
v
- The valuepublic void setMaxKeepSize(int v)
v
- The valueCopyright © 2021 JBoss by Red Hat. All rights reserved.