Uses of Class
org.mariadb.jdbc.HostAddress
Packages that use HostAddress
Package
Description
-
Uses of HostAddress in org.mariadb.jdbc
Fields in org.mariadb.jdbc with type parameters of type HostAddressMethods in org.mariadb.jdbc that return HostAddressModifier and TypeMethodDescriptionprivate static HostAddress
HostAddress.parseParameterHostAddress
(String str) private static HostAddress
HostAddress.parseSimpleHostAddress
(String str) Methods in org.mariadb.jdbc that return types with arguments of type HostAddressModifier and TypeMethodDescriptionUrlParser.getHostAddresses()
static List<HostAddress>
parse - parse server addresses from the URL fragment.Methods in org.mariadb.jdbc with parameters of type HostAddressModifier and TypeMethodDescriptionstatic String
HostAddress.toString
(HostAddress[] addrs) ToString implementation of addresses.Method parameters in org.mariadb.jdbc with type arguments of type HostAddressModifier and TypeMethodDescriptionstatic String
HostAddress.toString
(List<HostAddress> addrs) ToString implementation of addresses.Constructor parameters in org.mariadb.jdbc with type arguments of type HostAddress -
Uses of HostAddress in org.mariadb.jdbc.credential
Methods in org.mariadb.jdbc.credential with parameters of type HostAddressModifier and TypeMethodDescriptiondefault CredentialPlugin
CredentialPlugin.initialize
(Options options, String userName, HostAddress hostAddress) -
Uses of HostAddress in org.mariadb.jdbc.credential.env
Methods in org.mariadb.jdbc.credential.env with parameters of type HostAddressModifier and TypeMethodDescriptionEnvCredentialPlugin.initialize
(Options options, String userName, HostAddress hostAddress) -
Uses of HostAddress in org.mariadb.jdbc.credential.system
Methods in org.mariadb.jdbc.credential.system with parameters of type HostAddressModifier and TypeMethodDescriptionPropertiesCredentialPlugin.initialize
(Options options, 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 HostAddressModifier and TypeFieldDescriptionprivate static final ConcurrentMap<HostAddress,
Long> AbstractMastersListener.blacklist
List the recent failedConnection.Methods in org.mariadb.jdbc.internal.failover that return types with arguments of type HostAddressModifier and TypeMethodDescriptionAbstractMastersListener.getBlacklistKeys()
Listener.getBlacklistKeys()
Methods in org.mariadb.jdbc.internal.failover with parameters of type HostAddressModifier and TypeMethodDescriptionvoid
AbstractMastersListener.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.void
Listener.addToBlacklist
(HostAddress hostAddress) void
AbstractMastersListener.removeFromBlacklist
(HostAddress hostAddress) After a successfull connection, permit to remove a hostAddress from blacklist.void
Listener.removeFromBlacklist
(HostAddress hostAddress) void
AbstractMastersListener.throwFailoverMessage
(HostAddress failHostAddress, boolean wasMaster, SQLException queryException, boolean reconnected) Throw a human readable message after a failoverException.void
Listener.throwFailoverMessage
(HostAddress failHostAddress, boolean wasMaster, SQLException queryException, boolean reconnected) -
Uses of HostAddress in org.mariadb.jdbc.internal.failover.impl
Fields in org.mariadb.jdbc.internal.failover.impl declared as HostAddressFields in org.mariadb.jdbc.internal.failover.impl with type parameters of type HostAddressModifier and TypeFieldDescriptionprotected List<HostAddress>
MastersReplicasListener.hostAddresses
Methods in org.mariadb.jdbc.internal.failover.impl that return HostAddressModifier and TypeMethodDescriptionprivate HostAddress
AuroraListener.findClusterHostAddress()
Retrieves the cluster host address from the UrlParser instance.AuroraListener.getClusterHostAddress()
AuroraListener.searchByStartName
(Protocol secondaryProtocol, List<HostAddress> loopAddress) Looks for the current master/writer instance via the secondary protocol if it is found within 3 attempts.private HostAddress
AuroraListener.searchForMasterHostAddress
(Protocol protocol, 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 HostAddressModifier and TypeMethodDescriptionMastersReplicasListener.connectedHosts()
List current connected HostAddress.Method parameters in org.mariadb.jdbc.internal.failover.impl with type arguments of type HostAddressModifier and TypeMethodDescriptionAuroraListener.searchByStartName
(Protocol secondaryProtocol, List<HostAddress> loopAddress) Looks for the current master/writer instance via the secondary protocol if it is found within 3 attempts.private HostAddress
AuroraListener.searchForMasterHostAddress
(Protocol protocol, 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 HostAddressMethods in org.mariadb.jdbc.internal.protocol that return HostAddressModifier and TypeMethodDescriptionAbstractConnectProtocol.getHostAddress()
Protocol.getHostAddress()
Methods in org.mariadb.jdbc.internal.protocol with parameters of type HostAddressModifier and TypeMethodDescriptionprivate void
AbstractConnectProtocol.createConnection
(HostAddress hostAddress, String username) private static void
AuroraProtocol.searchProbableMaster
(AuroraListener listener, GlobalStateInfo globalInfo, HostAddress probableMaster) Connect aurora probable master.void
AbstractConnectProtocol.setHostAddress
(HostAddress host) void
Protocol.setHostAddress
(HostAddress hostAddress) Method parameters in org.mariadb.jdbc.internal.protocol with type arguments of type HostAddressModifier and TypeMethodDescriptionstatic void
AuroraProtocol.loop
(AuroraListener listener, GlobalStateInfo globalInfo, List<HostAddress> addresses, SearchFilter initialSearchFilter) loop until found the failed connection.static void
MasterProtocol.loop
(Listener listener, GlobalStateInfo globalInfo, List<HostAddress> addresses, SearchFilter searchFilter) loop until found the failed connection.static void
MastersReplicasProtocol.loop
(MastersReplicasListener listener, GlobalStateInfo globalInfo, List<HostAddress> addresses, SearchFilter searchFilter) loop until found the failed connection.private static void
AuroraProtocol.resetHostList
(AuroraListener listener, Deque<HostAddress> loopAddresses) Reinitialize loopAddresses with all hosts : all servers in randomize order with cluster address.private static void
MasterProtocol.resetHostList
(Listener listener, Deque<HostAddress> loopAddresses) Reinitialize loopAddresses with all hosts : all servers in randomize order without connected host.private static void
MastersReplicasProtocol.resetHostList
(MastersReplicasListener listener, Deque<HostAddress> loopAddresses) Reinitialize loopAddresses with all servers in randomize order.