Class ConnectionErrorCheckingJDBCConnectionPool

    • Constructor Detail

      • ConnectionErrorCheckingJDBCConnectionPool

        public ConnectionErrorCheckingJDBCConnectionPool​(JDBCConnectionFactory factory,
                                                         org.apache.commons.pool2.impl.GenericObjectPoolConfig cfg,
                                                         ConnectionStatus connectionStatus)
    • Method Detail

      • borrowConnection

        public java.sql.Connection borrowConnection()
                                             throws java.lang.Exception
        Overrides:
        borrowConnection in class JDBCConnectionPool
        Throws:
        java.lang.Exception
      • mayTestAgain

        protected boolean mayTestAgain​(int intervalSeconds)