ConnectionTester, FullQueryConnectionTester, QueryConnectionTester, UnifiedConnectionTester, java.io.SerializableIsValidOnlyConnectionTester30public abstract class IsValidOnlyConnectionTester extends AbstractConnectionTester
CONNECTION_IS_INVALID, CONNECTION_IS_OKAY, DATABASE_IS_INVALID| Constructor | Description |
|---|---|
IsValidOnlyConnectionTester() |
| Modifier and Type | Method | Description |
|---|---|---|
int |
activeCheckConnection(java.sql.Connection c,
java.lang.String preferredTestQuery,
java.lang.Throwable[] rootCauseOutParamHolder) |
Override, but remember that preferredTestQuery and rootCauseOutParamHolder
can be null.
|
protected abstract int |
getIsValidTimeout() |
|
int |
statusOnException(java.sql.Connection c,
java.lang.Throwable t,
java.lang.String preferredTestQuery,
java.lang.Throwable[] rootCauseOutParamHolder) |
Override, but remember that preferredTestQuery and rootCauseOutParamHolder
can be null.
|
activeCheckConnection, activeCheckConnection, activeCheckConnection, statusOnException, statusOnException, statusOnExceptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequals, hashCodeprotected abstract int getIsValidTimeout()
public int activeCheckConnection(java.sql.Connection c,
java.lang.String preferredTestQuery,
java.lang.Throwable[] rootCauseOutParamHolder)
AbstractConnectionTesteractiveCheckConnection in interface UnifiedConnectionTesteractiveCheckConnection in class AbstractConnectionTesterpublic int statusOnException(java.sql.Connection c,
java.lang.Throwable t,
java.lang.String preferredTestQuery,
java.lang.Throwable[] rootCauseOutParamHolder)
AbstractConnectionTesterstatusOnException in interface UnifiedConnectionTesterstatusOnException in class AbstractConnectionTester