public abstract class IsValidOnlyConnectionTester extends AbstractConnectionTester
CONNECTION_IS_INVALID, CONNECTION_IS_OKAY, DATABASE_IS_INVALID
Constructor and Description |
---|
IsValidOnlyConnectionTester() |
Modifier and Type | Method and 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, statusOnException
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals, hashCode
protected abstract int getIsValidTimeout()
public int activeCheckConnection(java.sql.Connection c, java.lang.String preferredTestQuery, java.lang.Throwable[] rootCauseOutParamHolder)
AbstractConnectionTester
activeCheckConnection
in interface UnifiedConnectionTester
activeCheckConnection
in class AbstractConnectionTester
public int statusOnException(java.sql.Connection c, java.lang.Throwable t, java.lang.String preferredTestQuery, java.lang.Throwable[] rootCauseOutParamHolder)
AbstractConnectionTester
statusOnException
in interface UnifiedConnectionTester
statusOnException
in class AbstractConnectionTester