| Package | Description |
|---|---|
| com.mysql.cj.jdbc | |
| com.mysql.cj.jdbc.ha | |
| testsuite | |
| testsuite.regression |
| Class and Description |
|---|
| 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.
|
| Class and 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 |
| 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.
|
| LoadBalanceExceptionChecker |
| MultiHostConnectionProxy
An abstract class that processes generic multi-host configurations.
|
| MultiHostConnectionProxy.JdbcInterfaceProxy
Proxy class to intercept and deal with errors that may occur in any object bound to the current connection.
|
| MultiHostMySQLConnection
Each instance of MultiHostMySQLConnection is coupled with a MultiHostConnectionProxy instance.
|
| RandomBalanceStrategy |
| ReplicationConnection |
| ReplicationConnectionGroup
Group of connection objects which can be configured as a group.
|
| 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.
|
| StandardLoadBalanceExceptionChecker |
| Class and Description |
|---|
| ReplicationConnection |
| Class and 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".
|
| LoadBalanceExceptionChecker |
| RandomBalanceStrategy |
| ReplicationConnection |