| Package | Description |
|---|---|
| com.mysql.cj.jdbc.ha |
| Modifier and Type | Class and Description |
|---|---|
class |
FailoverConnectionProxy
A proxy for a dynamic com.mysql.cj.jdbc.JdbcConnection implementation that provides failover features for list of hosts.
|
class |
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 |
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.
|
| Modifier and Type | Field and Description |
|---|---|
protected MultiHostConnectionProxy |
MultiHostMySQLConnection.thisAsProxy
thisAsProxy holds the proxy (MultiHostConnectionProxy or one of its subclasses) this connection is associated with.
|
| Modifier and Type | Method and Description |
|---|---|
MultiHostConnectionProxy |
MultiHostMySQLConnection.getThisAsProxy() |
| Constructor and Description |
|---|
MultiHostMySQLConnection(MultiHostConnectionProxy proxy) |
ReplicationMySQLConnection(MultiHostConnectionProxy proxy) |