Uses of Class
org.mariadb.jdbc.HostAddress
-
-
Uses of HostAddress in org.mariadb.jdbc
Fields in org.mariadb.jdbc with type parameters of type HostAddress Modifier and Type Field Description private java.util.List<HostAddress>UrlParser. addressesMethods in org.mariadb.jdbc that return HostAddress Modifier and Type Method Description private static HostAddressHostAddress. parseParameterHostAddress(java.lang.String str)private static HostAddressHostAddress. parseSimpleHostAddress(java.lang.String str)Methods in org.mariadb.jdbc that return types with arguments of type HostAddress Modifier and Type Method Description java.util.List<HostAddress>UrlParser. getHostAddresses()static java.util.List<HostAddress>HostAddress. parse(java.lang.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 static java.lang.StringHostAddress. toString(HostAddress[] addrs)ToString implementation of addresses.Method parameters in org.mariadb.jdbc with type arguments of type HostAddress Modifier and Type Method Description static java.lang.StringHostAddress. toString(java.util.List<HostAddress> addrs)ToString implementation of addresses.Constructor parameters in org.mariadb.jdbc with type arguments of type HostAddress Constructor Description UrlParser(java.lang.String database, java.util.List<HostAddress> addresses, Options options, HaMode haMode)Constructor. -
Uses of HostAddress in org.mariadb.jdbc.credential
Methods in org.mariadb.jdbc.credential with parameters of type HostAddress Modifier and Type Method Description default CredentialPluginCredentialPlugin. initialize(Options options, java.lang.String userName, HostAddress hostAddress) -
Uses of HostAddress in org.mariadb.jdbc.credential.env
Methods in org.mariadb.jdbc.credential.env with parameters of type HostAddress Modifier and Type Method Description CredentialPluginEnvCredentialPlugin. initialize(Options options, java.lang.String userName, HostAddress hostAddress) -
Uses of HostAddress in org.mariadb.jdbc.credential.system
Methods in org.mariadb.jdbc.credential.system with parameters of type HostAddress Modifier and Type Method Description CredentialPluginPropertiesCredentialPlugin. initialize(Options options, java.lang.String userName, HostAddress hostAddress) -
Uses of HostAddress in org.mariadb.jdbc.internal.failover
Fields in org.mariadb.jdbc.internal.failover with type parameters of type HostAddress Modifier and Type Field Description private static java.util.concurrent.ConcurrentMap<HostAddress,java.lang.Long>AbstractMastersListener. blacklistList the recent failedConnection.Methods in org.mariadb.jdbc.internal.failover that return types with arguments of type HostAddress Modifier and Type Method Description java.util.Set<HostAddress>AbstractMastersListener. getBlacklistKeys()java.util.Set<HostAddress>Listener. getBlacklistKeys()Methods in org.mariadb.jdbc.internal.failover with parameters of type HostAddress Modifier and Type Method Description voidAbstractMastersListener. addToBlacklist(HostAddress hostAddress)After a failover, put the hostAddress in a static list so the other connection will not take this host in account for a time.voidListener. addToBlacklist(HostAddress hostAddress)voidAbstractMastersListener. removeFromBlacklist(HostAddress hostAddress)After a successfull connection, permit to remove a hostAddress from blacklist.voidListener. removeFromBlacklist(HostAddress hostAddress)voidAbstractMastersListener. throwFailoverMessage(HostAddress failHostAddress, boolean wasMaster, java.sql.SQLException queryException, boolean reconnected)Throw a human readable message after a failoverException.voidListener. throwFailoverMessage(HostAddress failHostAddress, boolean wasMaster, java.sql.SQLException queryException, boolean reconnected) -
Uses of HostAddress in org.mariadb.jdbc.internal.failover.impl
Fields in org.mariadb.jdbc.internal.failover.impl declared as HostAddress Modifier and Type Field Description private HostAddressAuroraListener. clusterHostAddressFields in org.mariadb.jdbc.internal.failover.impl with type parameters of type HostAddress Modifier and Type Field Description protected java.util.List<HostAddress>MastersReplicasListener. hostAddressesMethods in org.mariadb.jdbc.internal.failover.impl that return HostAddress Modifier and Type Method Description private HostAddressAuroraListener. findClusterHostAddress()Retrieves the cluster host address from the UrlParser instance.HostAddressAuroraListener. getClusterHostAddress()HostAddressAuroraListener. searchByStartName(Protocol secondaryProtocol, java.util.List<HostAddress> loopAddress)Looks for the current master/writer instance via the secondary protocol if it is found within 3 attempts.private HostAddressAuroraListener. searchForMasterHostAddress(Protocol protocol, java.util.List<HostAddress> loopAddress)Aurora replica doesn't have the master endpoint but the master instance name.Methods in org.mariadb.jdbc.internal.failover.impl that return types with arguments of type HostAddress Modifier and Type Method Description java.util.List<HostAddress>MastersReplicasListener. connectedHosts()List current connected HostAddress.Method parameters in org.mariadb.jdbc.internal.failover.impl with type arguments of type HostAddress Modifier and Type Method Description HostAddressAuroraListener. searchByStartName(Protocol secondaryProtocol, java.util.List<HostAddress> loopAddress)Looks for the current master/writer instance via the secondary protocol if it is found within 3 attempts.private HostAddressAuroraListener. searchForMasterHostAddress(Protocol protocol, java.util.List<HostAddress> loopAddress)Aurora replica doesn't have the master endpoint but the master instance name. -
Uses of HostAddress in org.mariadb.jdbc.internal.protocol
Fields in org.mariadb.jdbc.internal.protocol declared as HostAddress Modifier and Type Field Description private HostAddressAbstractConnectProtocol. currentHostMethods in org.mariadb.jdbc.internal.protocol that return HostAddress Modifier and Type Method Description HostAddressAbstractConnectProtocol. getHostAddress()HostAddressProtocol. getHostAddress()Methods in org.mariadb.jdbc.internal.protocol with parameters of type HostAddress Modifier and Type Method Description private voidAbstractConnectProtocol. createConnection(HostAddress hostAddress, java.lang.String username)private static voidAuroraProtocol. searchProbableMaster(AuroraListener listener, GlobalStateInfo globalInfo, HostAddress probableMaster)Connect aurora probable master.voidAbstractConnectProtocol. setHostAddress(HostAddress host)voidProtocol. setHostAddress(HostAddress hostAddress)Method parameters in org.mariadb.jdbc.internal.protocol with type arguments of type HostAddress Modifier and Type Method Description static voidAuroraProtocol. loop(AuroraListener listener, GlobalStateInfo globalInfo, java.util.List<HostAddress> addresses, SearchFilter initialSearchFilter)loop until found the failed connection.static voidMasterProtocol. loop(Listener listener, GlobalStateInfo globalInfo, java.util.List<HostAddress> addresses, SearchFilter searchFilter)loop until found the failed connection.static voidMastersReplicasProtocol. loop(MastersReplicasListener listener, GlobalStateInfo globalInfo, java.util.List<HostAddress> addresses, SearchFilter searchFilter)loop until found the failed connection.private static voidAuroraProtocol. resetHostList(AuroraListener listener, java.util.Deque<HostAddress> loopAddresses)Reinitialize loopAddresses with all hosts : all servers in randomize order with cluster address.private static voidMasterProtocol. resetHostList(Listener listener, java.util.Deque<HostAddress> loopAddresses)Reinitialize loopAddresses with all hosts : all servers in randomize order without connected host.private static voidMastersReplicasProtocol. resetHostList(MastersReplicasListener listener, java.util.Deque<HostAddress> loopAddresses)Reinitialize loopAddresses with all servers in randomize order.
-