Package com.mchange.v2.c3p0.test
Class AlwaysFailConnectionTester
java.lang.Object
com.mchange.v2.c3p0.test.AlwaysFailConnectionTester
- All Implemented Interfaces:
ConnectionTester,QueryConnectionTester,Serializable
- See Also:
-
Field Summary
Fields inherited from interface com.mchange.v2.c3p0.ConnectionTester
CONNECTION_IS_INVALID, CONNECTION_IS_OKAY, DATABASE_IS_INVALID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintactiveCheckConnection(Connection c, String preferredTestQuery) booleanMultiple testers that are of the same class and use the same criteria for determining fatality should test as equals().inthashCode()keep consistent with equals()int
-
Constructor Details
-
AlwaysFailConnectionTester
public AlwaysFailConnectionTester()
-
-
Method Details
-
activeCheckConnection
- Specified by:
activeCheckConnectionin interfaceConnectionTester
-
statusOnException
- Specified by:
statusOnExceptionin interfaceConnectionTester
-
activeCheckConnection
- Specified by:
activeCheckConnectionin interfaceQueryConnectionTester
-
equals
Description copied from interface:ConnectionTesterMultiple testers that are of the same class and use the same criteria for determining fatality should test as equals().- Specified by:
equalsin interfaceConnectionTester- Overrides:
equalsin classObject
-
hashCode
public int hashCode()Description copied from interface:ConnectionTesterkeep consistent with equals()- Specified by:
hashCodein interfaceConnectionTester- Overrides:
hashCodein classObject
-