Interface ConnectionPool

  • All Superinterfaces:
    java.lang.AutoCloseable
    All Known Implementing Classes:
    JRTConnectionPool, MockConnection

    public interface ConnectionPool
    extends java.lang.AutoCloseable
    Author:
    hmusum
    • Method Detail

      • close

        void close()
        Specified by:
        close in interface java.lang.AutoCloseable
      • setError

        void setError​(Connection connection,
                      int i)
      • setNewCurrentConnection

        Connection setNewCurrentConnection()
      • getSize

        int getSize()
      • getSupervisor

        com.yahoo.jrt.Supervisor getSupervisor()