primary
primary node
static enum mysql.proc availability on this host.final Stringfinal Stringprivate static final ConcurrentMap<String, HostAddress.MysqlProcStatus> HostAddress instances that point to the same
physical endpoint (same host:port, named pipe, or unix socket).final Stringfinal intfinal SslModeprivate Longprivate LongbooleanvoidforceThreadsConnected(long threadsConnected,
long threadConnectedTimeout) static HostAddressstatic HostAddressstatic HostAddressstatic HostAddressprivate static intinthashCode()static HostAddresslocalSocket(String localSocket) static List<HostAddress> private static HostAddressparseParameterHostAddress(String str,
HaMode haMode,
boolean first) private static HostAddressparseSimpleHostAddress(String str,
HaMode haMode,
boolean first) static HostAddressvoidvoidsetThreadsConnected(long threadsConnected) toString()withLocalSocket(String localSocket) withPort(int port) HostAddress instances that point to the same
physical endpoint (same host:port, named pipe, or unix socket). Keyed by content rather than
object identity because NonRegisteringDriver.connect(Configuration) parses the URL
afresh on every call, producing new HostAddress objects — without a shared map, each
pooled connection would re-probe mysql.proc.host - host (DNS/IP)port - portpipe - windows pipe pathlocalSocket - unix socket pathhost - host (DNS/IP)port - portprimary - is primaryhost - host (DNS/IP)port - portsslMode - ssl modehost - host (DNS/IP)port - portprimary - is primarysslMode - ssl modespec - list of endpoints in one of the forms 1 - host1,....,hostN:port (missing port
default to MariaDB default 3306 2 - host:port,...,host:porthaMode - High availability modeSQLException - for wrong specstr - string to parsehaMode - current High-Availability modefirst - is it the first hostSQLException - if port is not IntegerportString - port in string valueSQLException - in case of failing to parse port.SQLException