| Interface | Description |
|---|---|
| BalanceStrategy |
Implement this interface to provide a new load balancing strategy for URLs of the form "jdbc:mysql:loadbalance://..", and provide the implementation class
name as the configuration parameter "loadBalanceStrategy".
|
| LoadBalancedConnection | |
| LoadBalanceExceptionChecker | |
| ReplicationConnection |
| Class | Description |
|---|---|
| BestResponseTimeBalanceStrategy | |
| ConnectionProxy |
A proxy that uses the
ConnectionPluginManager to initialize
JdbcConnection and execute JDBC methods. |
| ConnectionProxyLifecycleInterceptor |
This basic implementation of ConnectionLifecycleInterceptor allows the
ClusterAwareConnectionProxy class to be aware of certain events occurring against the database
connection.
|
| ConnectionUtils |
Utility class for copying
HostInfo objects. |
| 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.
|
| NdbLoadBalanceExceptionChecker | |
| RandomBalanceStrategy | |
| ReplicationConnectionGroup |
Group of connection objects which can be configured as a group.
|
| ReplicationConnectionGroupManager | |
| ReplicationConnectionProxy |
Connection that opens two connections, one two a replication source, and another to one or more replicas, and decides to use source when the connection is
not
read-only, and use replica(s) when the connection is read-only.
|
| ReplicationMySQLConnection | |
| SequentialBalanceStrategy |
A balancing strategy that starts at a random point, and then advances in the list (wrapping around) for each new pickConnection() call.
|
| ServerAffinityStrategy | |
| StandardLoadBalanceExceptionChecker |