程序包 com.mysql.cj.jdbc.ha
-
接口概要 接口 说明 BalanceStrategy Implement this interface to provide a new load balancing strategy for URLs of the form "jdbc:mysql:loadbalance://LoadBalancedConnection LoadBalanceExceptionChecker ReplicationConnection -
类概要 类 说明 BestResponseTimeBalanceStrategy FailoverConnectionProxy A proxy for a dynamic com.mysql.cj.jdbc.JdbcConnection implementation that provides failover features for list of hosts.LoadBalancedAutoCommitInterceptor LoadBalancedConnectionProxy A proxy for a dynamic com.mysql.cj.jdbc.JdbcConnection implementation that load balances requests across a series of MySQL JDBC connections, where the balancing takes place at transaction commit.LoadBalancedMySQLConnection MultiHostConnectionProxy An abstract class that processes generic multi-host configurations.MultiHostMySQLConnection Each instance of MultiHostMySQLConnection is coupled with a MultiHostConnectionProxy instance.RandomBalanceStrategy ReplicationConnectionGroup Group of connection objects which can be configured as a group.ReplicationConnectionGroupManager ReplicationConnectionProxy Connection that opens two connections, one two a replication master, and another to one or more slaves, and decides to use master when the connection is not read-only, and use slave(s) when the connection is read-only.ReplicationMySQLConnection ServerAffinityStrategy StandardLoadBalanceExceptionChecker