## Uses of Class
org.mariadb.jdbc.HostAddress

Packages that use HostAddress
org.mariadb.jdbc
org.mariadb.jdbc.client.socket
org.mariadb.jdbc.export
org.mariadb.jdbc.plugin
org.mariadb.jdbc.plugin.authentication.addon
org.mariadb.jdbc.plugin.authentication.standard
org.mariadb.jdbc.plugin.credential.aws
org.mariadb.jdbc.plugin.credential.env
org.mariadb.jdbc.plugin.credential.system
org.mariadb.jdbc.plugin.tls.main

### Uses of HostAddress in org.mariadb.jdbc

Methods in org.mariadb.jdbc that return HostAddress
`static HostAddress` HostAddress.`from​(String host, int port)` Create a Host without knowledge of primary/replica goal
`static HostAddress` HostAddress.`from​(String host, int port, boolean primary)` Create a Host
`static HostAddress` HostAddress.`from​(String host, int port, boolean primary, String sslMode)` Create a Host
`static HostAddress` HostAddress.`from​(String host, int port, String sslMode)` Create a Host
`static HostAddress` HostAddress.`localSocket​(String localSocket)` Constructor for unix socket host
`static HostAddress` HostAddress.`pipe​(String pipe)` Constructor for windows pipe host
`HostAddress` HostAddress.`withLocalSocket​(String localSocket)`
`HostAddress` HostAddress.`withPipe​(String pipe)`
`HostAddress` HostAddress.`withPort​(int port)`

Methods in org.mariadb.jdbc that return types with arguments of type HostAddress
`List<HostAddress>` Configuration.`addresses()` addresses
`static List<HostAddress>` HostAddress.`parse​(String spec, HaMode haMode)` parse - parse server addresses from the URL fragment.

Methods in org.mariadb.jdbc with parameters of type HostAddress
`Configuration.Builder` Configuration.Builder.`addresses​(HostAddress... hostAddress)` add host addresses

Method parameters in org.mariadb.jdbc with type arguments of type HostAddress
`Configuration.Builder` Configuration.Builder.`addresses​(List<HostAddress> hostAddress)` add host addresses

### Uses of HostAddress in org.mariadb.jdbc.client.socket

Methods in org.mariadb.jdbc.client.socket with parameters of type HostAddress
`void` Reader.`setServerThreadId​(Long serverThreadId, HostAddress hostAddress)` Set server thread id.
`void` Writer.`setServerThreadId​(Long serverThreadId, HostAddress hostAddress)` Set server thread id.

### Uses of HostAddress in org.mariadb.jdbc.export

Methods in org.mariadb.jdbc.export that return HostAddress
`static HostAddress` HaMode.`getHostWithLessConnections​(List<HostAddress> hostAddresses, ConcurrentMap<HostAddress,​Long> denyList, boolean primary)` If all hosts not blacklisted connection number are known, choose the host with the less connections.

Methods in org.mariadb.jdbc.export that return types with arguments of type HostAddress
`abstract Optional<HostAddress>` HaMode.`getAvailableHost​(List<HostAddress> hostAddresses, ConcurrentMap<HostAddress,​Long> denyList, boolean primary)` List of hosts without blacklist entries, ordered according to HA mode
`static Optional<HostAddress>` HaMode.`getAvailableHostInOrder​(List<HostAddress> hostAddresses, ConcurrentMap<HostAddress,​Long> denyList, boolean primary)` return hosts of corresponding type (primary or not) without blacklisted hosts.
`static Optional<HostAddress>` HaMode.`getAvailableRoundRobinHost​(HaMode haMode, List<HostAddress> hostAddresses, ConcurrentMap<HostAddress,​Long> denyList, boolean primary)` return hosts of corresponding type (primary or not) without blacklisted hosts.

Method parameters in org.mariadb.jdbc.export with type arguments of type HostAddress
`abstract Optional<HostAddress>` HaMode.`getAvailableHost​(List<HostAddress> hostAddresses, ConcurrentMap<HostAddress,​Long> denyList, boolean primary)` List of hosts without blacklist entries, ordered according to HA mode
`abstract Optional<HostAddress>` HaMode.`getAvailableHost​(List<HostAddress> hostAddresses, ConcurrentMap<HostAddress,​Long> denyList, boolean primary)` List of hosts without blacklist entries, ordered according to HA mode
`static Optional<HostAddress>` HaMode.`getAvailableHostInOrder​(List<HostAddress> hostAddresses, ConcurrentMap<HostAddress,​Long> denyList, boolean primary)` return hosts of corresponding type (primary or not) without blacklisted hosts.
`static Optional<HostAddress>` HaMode.`getAvailableHostInOrder​(List<HostAddress> hostAddresses, ConcurrentMap<HostAddress,​Long> denyList, boolean primary)` return hosts of corresponding type (primary or not) without blacklisted hosts.
`static Optional<HostAddress>` HaMode.`getAvailableRoundRobinHost​(HaMode haMode, List<HostAddress> hostAddresses, ConcurrentMap<HostAddress,​Long> denyList, boolean primary)` return hosts of corresponding type (primary or not) without blacklisted hosts.
`static Optional<HostAddress>` HaMode.`getAvailableRoundRobinHost​(HaMode haMode, List<HostAddress> hostAddresses, ConcurrentMap<HostAddress,​Long> denyList, boolean primary)` return hosts of corresponding type (primary or not) without blacklisted hosts.
`static HostAddress` HaMode.`getHostWithLessConnections​(List<HostAddress> hostAddresses, ConcurrentMap<HostAddress,​Long> denyList, boolean primary)` If all hosts not blacklisted connection number are known, choose the host with the less connections.
`static HostAddress` HaMode.`getHostWithLessConnections​(List<HostAddress> hostAddresses, ConcurrentMap<HostAddress,​Long> denyList, boolean primary)` If all hosts not blacklisted connection number are known, choose the host with the less connections.

Constructors in org.mariadb.jdbc.export with parameters of type HostAddress
`ExceptionFactory​(Configuration conf, HostAddress hostAddress)` Connection Exception factory constructor
`SqlExceptionFactory​(Connection connection, MariaDbPoolConnection poolConnection, Configuration conf, HostAddress hostAddress, long threadId, Statement statement, String sql)` Constructor of Exception factory with SQL

### Uses of HostAddress in org.mariadb.jdbc.plugin

Methods in org.mariadb.jdbc.plugin with parameters of type HostAddress
`TrustManager[]` TlsSocketPlugin.`getTrustManager​(Configuration conf, ExceptionFactory exceptionFactory, HostAddress hostAddress)`
`void` AuthenticationPlugin.`initialize​(String authenticationData, byte[] seed, Configuration conf, HostAddress hostAddress)` Plugin initialization.
`default CredentialPlugin` CredentialPlugin.`initialize​(Configuration conf, String userName, HostAddress hostAddress)` Permit initializing plugin if overridden

### Uses of HostAddress in org.mariadb.jdbc.plugin.authentication.addon

Methods in org.mariadb.jdbc.plugin.authentication.addon with parameters of type HostAddress
`void` ClearPasswordPlugin.`initialize​(String authenticationData, byte[] seed, Configuration conf, HostAddress hostAddress)` Initialization.
`void` SendGssApiAuthPacket.`initialize​(String authenticationData, byte[] seed, Configuration conf, HostAddress hostAddress)` Initialization.

### Uses of HostAddress in org.mariadb.jdbc.plugin.authentication.standard

Methods in org.mariadb.jdbc.plugin.authentication.standard with parameters of type HostAddress
`void` CachingSha2PasswordPlugin.`initialize​(String authenticationData, byte[] seed, Configuration conf, HostAddress hostAddress)` Initialized data.
`void` Ed25519PasswordPlugin.`initialize​(String authenticationData, byte[] seed, Configuration conf, HostAddress hostAddress)` Initialization.
`void` NativePasswordPlugin.`initialize​(String authenticationData, byte[] seed, Configuration conf, HostAddress hostAddress)` Initialized data.
`void` SendPamAuthPacket.`initialize​(String authenticationData, byte[] seed, Configuration conf, HostAddress hostAddress)` Initialization.

### Uses of HostAddress in org.mariadb.jdbc.plugin.credential.aws

Methods in org.mariadb.jdbc.plugin.credential.aws with parameters of type HostAddress
`CredentialPlugin` AwsIamCredentialPlugin.`initialize​(Configuration conf, String userName, HostAddress hostAddress)`

Constructors in org.mariadb.jdbc.plugin.credential.aws with parameters of type HostAddress
`AwsCredentialGenerator​(Properties nonMappedOptions, String userName, HostAddress hostAddress)` AWS Generator.

### Uses of HostAddress in org.mariadb.jdbc.plugin.credential.env

Methods in org.mariadb.jdbc.plugin.credential.env with parameters of type HostAddress
`CredentialPlugin` EnvCredentialPlugin.`initialize​(Configuration conf, String userName, HostAddress hostAddress)`

### Uses of HostAddress in org.mariadb.jdbc.plugin.credential.system

Methods in org.mariadb.jdbc.plugin.credential.system with parameters of type HostAddress
`CredentialPlugin` PropertiesCredentialPlugin.`initialize​(Configuration conf, String userName, HostAddress hostAddress)`

### Uses of HostAddress in org.mariadb.jdbc.plugin.tls.main

Methods in org.mariadb.jdbc.plugin.tls.main with parameters of type HostAddress
`TrustManager[]` DefaultTlsSocketPlugin.`getTrustManager​(Configuration conf, ExceptionFactory exceptionFactory, HostAddress hostAddress)`