Interface LoadBalancedConnection

All Superinterfaces:
java.lang.AutoCloseable, java.sql.Connection, JdbcConnection, MysqlConnection, TransactionEventHandler, java.sql.Wrapper
All Known Implementing Classes:
LoadBalancedMySQLConnection

public interface LoadBalancedConnection
extends JdbcConnection
  • Method Details

    • addHost

      boolean addHost​(java.lang.String host) throws java.sql.SQLException
      Throws:
      java.sql.SQLException
    • removeHost

      void removeHost​(java.lang.String host) throws java.sql.SQLException
      Throws:
      java.sql.SQLException
    • removeHostWhenNotInUse

      void removeHostWhenNotInUse​(java.lang.String host) throws java.sql.SQLException
      Throws:
      java.sql.SQLException
    • ping

      void ping​(boolean allConnections) throws java.sql.SQLException
      Throws:
      java.sql.SQLException