| Package | Description |
|---|---|
| com.mysql.cj.jdbc.ha | |
| testsuite.regression |
| Modifier and Type | Field and Description |
|---|---|
private java.util.Map<ConnectionImpl,java.lang.String> |
LoadBalancedConnectionProxy.connectionsToHostsMap |
protected java.util.Map<java.lang.String,ConnectionImpl> |
LoadBalancedConnectionProxy.liveConnections |
| Modifier and Type | Method and Description |
|---|---|
ConnectionImpl |
LoadBalancedConnectionProxy.createConnectionForHost(HostInfo hostInfo)
Creates a new physical connection for the given
HostInfo and updates required internal mappings and statistics for that connection. |
(package private) ConnectionImpl |
MultiHostConnectionProxy.createConnectionForHost(HostInfo hostInfo)
Creates a new physical connection for the given
HostInfo. |
ConnectionImpl |
LoadBalancedConnectionProxy.createConnectionForHost(java.lang.String hostPortPair)
Creates a new physical connection for the given host:port info.
|
(package private) ConnectionImpl |
FailoverConnectionProxy.createConnectionForHostIndex(int hostIndex)
Creates a new connection instance for host pointed out by the given host index.
|
ConnectionImpl |
SequentialBalanceStrategy.pickConnection(java.lang.reflect.InvocationHandler proxy,
java.util.List<java.lang.String> configuredHosts,
java.util.Map<java.lang.String,JdbcConnection> liveConnections,
long[] responseTimes,
int numRetries) |
ConnectionImpl |
ServerAffinityStrategy.pickConnection(java.lang.reflect.InvocationHandler proxy,
java.util.List<java.lang.String> configuredHosts,
java.util.Map<java.lang.String,JdbcConnection> liveConnections,
long[] responseTimes,
int numRetries) |
ConnectionImpl |
BestResponseTimeBalanceStrategy.pickConnection(java.lang.reflect.InvocationHandler proxy,
java.util.List<java.lang.String> configuredHosts,
java.util.Map<java.lang.String,JdbcConnection> liveConnections,
long[] responseTimes,
int numRetries) |
ConnectionImpl |
RandomBalanceStrategy.pickConnection(java.lang.reflect.InvocationHandler proxy,
java.util.List<java.lang.String> configuredHosts,
java.util.Map<java.lang.String,JdbcConnection> liveConnections,
long[] responseTimes,
int numRetries) |
| Modifier and Type | Method and Description |
|---|---|
ConnectionImpl |
ConnectionRegressionTest.ForcedLoadBalanceStrategy.pickConnection(java.lang.reflect.InvocationHandler proxy,
java.util.List<java.lang.String> configuredHosts,
java.util.Map<java.lang.String,JdbcConnection> liveConnections,
long[] responseTimes,
int numRetries) |
ConnectionImpl |
ConnectionRegressionTest.CountingReBalanceStrategy.pickConnection(java.lang.reflect.InvocationHandler proxy,
java.util.List<java.lang.String> configuredHosts,
java.util.Map<java.lang.String,JdbcConnection> liveConnections,
long[] responseTimes,
int numRetries) |