Package de.hybris.platform.jdbcwrapper
Interface JUnitJDBCConnectionPool
- All Known Implementing Classes:
JUnitConnectionErrorCheckingJDBCConnectionPool
public interface JUnitJDBCConnectionPool
For testing error handling when
- all connections fail
- single connections fail
- the pool reports connection errors in general
-
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidsetAllConnectionsFail(boolean allFail) void
-
Method Details
-
addFailingConnection
-
removeFailingConnection
-
setAllConnectionsFail
void setAllConnectionsFail(boolean allFail) -
resetTestMode
void resetTestMode() -
resumeConnectionBorrowing
void resumeConnectionBorrowing() -
suspendConnectionBorrowing
void suspendConnectionBorrowing()
-