Interface ConnectionPool

    • Method Detail

      • switchConnection

        Connection switchConnection​(Connection failingConnection)
        Switches to another (healthy, if possible) Connection instance. getCurrent() will return this instance afterwards, which is also the return value.
        Returns:
        a Connection
      • getSize

        int getSize()