primary
primary node
booleanvoidforceThreadsConnected(long threadsConnected,
long threadConnectedTimeout) static HostAddressstatic HostAddressstatic HostAddressstatic HostAddressinthashCode()static HostAddresslocalSocket(String localSocket) static List<HostAddress> static HostAddressvoidsetThreadsConnected(long threadsConnected) toString()withLocalSocket(String localSocket) withPort(int port) 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 spec