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 HostAddressHostAddress.parseParameterHostAddress(String str) private static HostAddressHostAddress.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 StringHostAddress.toString(HostAddress[] addrs) ToString implementation of addresses.Method parameters in org.mariadb.jdbc with type arguments of type HostAddressModifier and TypeMethodDescriptionvoidUrlParser.setHostAddresses(List<HostAddress> addresses) static StringHostAddress.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.internal.com.send
Methods in org.mariadb.jdbc.internal.com.send with parameters of type HostAddressModifier and TypeMethodDescriptionstatic voidSendHandshakeResponsePacket.send(PacketOutputStream pos, String username, String password, HostAddress currentHost, String database, long clientCapabilities, long serverCapabilities, byte serverLanguage, byte packetSeq, Options options, ReadInitialHandShakePacket greetingPacket) Send handshake response packet.private static voidSendHandshakeResponsePacket.writeConnectAttributes(PacketOutputStream pos, String connectionAttributes, HostAddress currentHost) -
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.blacklistList 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 TypeMethodDescriptionvoidAbstractMastersListener.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, SQLException queryException, boolean reconnected) Throw a human readable message after a failoverException.voidListener.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 HostAddressMethods in org.mariadb.jdbc.internal.failover.impl that return HostAddressModifier and TypeMethodDescriptionprivate HostAddressAuroraListener.findClusterHostAddress(UrlParser urlParser) 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 HostAddressAuroraListener.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 TypeMethodDescriptionMastersSlavesListener.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 HostAddressAuroraListener.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 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 HostAddressModifier and TypeMethodDescriptionstatic voidAuroraProtocol.loop(AuroraListener listener, GlobalStateInfo globalInfo, List<HostAddress> addresses, SearchFilter initialSearchFilter) loop until found the failed connection.static voidMasterProtocol.loop(Listener listener, GlobalStateInfo globalInfo, List<HostAddress> addresses, SearchFilter searchFilter) loop until found the failed connection.static voidMastersSlavesProtocol.loop(MastersSlavesListener listener, GlobalStateInfo globalInfo, List<HostAddress> addresses, SearchFilter searchFilter) loop until found the failed connection.private static voidAuroraProtocol.resetHostList(AuroraListener listener, Deque<HostAddress> loopAddresses) Reinitialize loopAddresses with all hosts : all servers in randomize order with cluster address.private static voidMasterProtocol.resetHostList(Listener listener, Deque<HostAddress> loopAddresses) Reinitialize loopAddresses with all hosts : all servers in randomize order without connected host.private static voidMastersSlavesProtocol.resetHostList(MastersSlavesListener listener, Deque<HostAddress> loopAddresses) Reinitialize loopAddresses with all servers in randomize order.