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 Details

    • addFailingConnection

      void addFailingConnection(Connection con)
    • removeFailingConnection

      void removeFailingConnection(Connection con)
    • setAllConnectionsFail

      void setAllConnectionsFail(boolean allFail)
    • resetTestMode

      void resetTestMode()
    • resumeConnectionBorrowing

      void resumeConnectionBorrowing()
    • suspendConnectionBorrowing

      void suspendConnectionBorrowing()