类的使用
com.mysql.cj.jdbc.ConnectionImpl
-
使用ConnectionImpl的程序包 程序包 说明 com.mysql.cj.jdbc.ha -
-
com.mysql.cj.jdbc.ha中ConnectionImpl的使用
类型参数类型为ConnectionImpl的com.mysql.cj.jdbc.ha中的字段 修饰符和类型 字段 说明 protected Map<String,ConnectionImpl>LoadBalancedConnectionProxy. liveConnections返回ConnectionImpl的com.mysql.cj.jdbc.ha中的方法 修饰符和类型 方法 说明 ConnectionImplLoadBalancedConnectionProxy. createConnectionForHost(HostInfo hostInfo)Creates a new physical connection for the givenHostInfoand updates required internal mappings and statistics for that connection.ConnectionImplLoadBalancedConnectionProxy. createConnectionForHost(String hostPortPair)Creates a new physical connection for the given host:port info.ConnectionImplBestResponseTimeBalanceStrategy. pickConnection(InvocationHandler proxy, List<String> configuredHosts, Map<String,JdbcConnection> liveConnections, long[] responseTimes, int numRetries)ConnectionImplRandomBalanceStrategy. pickConnection(InvocationHandler proxy, List<String> configuredHosts, Map<String,JdbcConnection> liveConnections, long[] responseTimes, int numRetries)ConnectionImplSequentialBalanceStrategy. pickConnection(InvocationHandler proxy, List<String> configuredHosts, Map<String,JdbcConnection> liveConnections, long[] responseTimes, int numRetries)ConnectionImplServerAffinityStrategy. pickConnection(InvocationHandler proxy, List<String> configuredHosts, Map<String,JdbcConnection> liveConnections, long[] responseTimes, int numRetries)
-