Uses of Class
org.mariadb.jdbc.HostAddress
-
-
Uses of HostAddress in org.mariadb.jdbc
Methods in org.mariadb.jdbc that return HostAddress Modifier and Type Method Description static HostAddress
HostAddress. from(String host, int port)
Create a Host without knowledge of primary/replica goalstatic HostAddress
HostAddress. from(String host, int port, boolean primary)
Create a HostMethods in org.mariadb.jdbc that return types with arguments of type HostAddress Modifier and Type Method Description List<HostAddress>
Configuration. addresses()
addressesstatic 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 Modifier and Type Method Description Configuration.Builder
Configuration.Builder. addresses(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 Modifier and Type Method Description 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 types with arguments of type HostAddress Modifier and Type Method Description abstract Optional<HostAddress>
HaMode. getAvailableHost(List<HostAddress> hostAddresses, ConcurrentMap<HostAddress,Long> denyList, boolean primary)
List of hosts without blacklist entries, ordered according to HA modestatic 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 Modifier and Type Method Description abstract Optional<HostAddress>
HaMode. getAvailableHost(List<HostAddress> hostAddresses, ConcurrentMap<HostAddress,Long> denyList, boolean primary)
List of hosts without blacklist entries, ordered according to HA modeabstract Optional<HostAddress>
HaMode. getAvailableHost(List<HostAddress> hostAddresses, ConcurrentMap<HostAddress,Long> denyList, boolean primary)
List of hosts without blacklist entries, ordered according to HA modestatic 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.Constructors in org.mariadb.jdbc.export with parameters of type HostAddress Constructor Description ExceptionFactory(Configuration conf, HostAddress hostAddress)
Connection Exception factory constructorSqlExceptionFactory(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 Modifier and Type Method Description default CredentialPlugin
CredentialPlugin. initialize(Configuration conf, String userName, HostAddress hostAddress)
Permit initializing plugin if overridden -
Uses of HostAddress in org.mariadb.jdbc.plugin.credential.aws
Methods in org.mariadb.jdbc.plugin.credential.aws with parameters of type HostAddress Modifier and Type Method Description CredentialPlugin
AwsIamCredentialPlugin. initialize(Configuration conf, String userName, HostAddress hostAddress)
Constructors in org.mariadb.jdbc.plugin.credential.aws with parameters of type HostAddress Constructor Description 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 Modifier and Type Method Description 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 Modifier and Type Method Description CredentialPlugin
PropertiesCredentialPlugin. initialize(Configuration conf, String userName, HostAddress hostAddress)
-