Interface ConnectionPool

  • All Known Implementing Classes:
    C3P0ConnectionPool, HikariConnectionPool

    public interface ConnectionPool
    A simple interface that must be implemented by ConnectionPool wrapper classes.
    Author:
    Ryan Emerson
    • Method Detail

      • close

        void close()
      • getConnection

        java.sql.Connection getConnection()
                                   throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • getMaxPoolSize

        int getMaxPoolSize()
      • getNumConnectionsAllUsers

        int getNumConnectionsAllUsers()
                               throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • getNumBusyConnectionsAllUsers

        int getNumBusyConnectionsAllUsers()
                                   throws java.sql.SQLException
        Throws:
        java.sql.SQLException