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 HostAddressModifier and TypeFieldDescriptionprivate List
<HostAddress> Configuration.Builder._addresses
private List
<HostAddress> Configuration.addresses
Methods in org.mariadb.jdbc that return HostAddressModifier and TypeMethodDescriptionstatic HostAddress
Create a Host without knowledge of primary/replica goalstatic HostAddress
Create a Hoststatic HostAddress
Create a Hoststatic HostAddress
Create a Hoststatic HostAddress
HostAddress.localSocket
(String localSocket) Constructor for unix socket hostprivate static HostAddress
HostAddress.parseParameterHostAddress
(String str, HaMode haMode, boolean first) private static HostAddress
HostAddress.parseSimpleHostAddress
(String str, HaMode haMode, boolean first) Parse Single hoststatic HostAddress
Constructor for windows pipe hostHostAddress.withLocalSocket
(String localSocket) HostAddress.withPort
(int port) Methods in org.mariadb.jdbc that return types with arguments of type HostAddressModifier and TypeMethodDescriptionConfiguration.addresses()
addressesstatic List
<HostAddress> parse - parse server addresses from the URL fragment.Methods in org.mariadb.jdbc with parameters of type HostAddressModifier and TypeMethodDescriptionConfiguration.Builder.addresses
(HostAddress... hostAddress) add host addressesprivate static void
Configuration.appendHostAddress
(StringBuilder sb, Configuration conf, HostAddress hostAddress, int index) private static boolean
Configuration.shouldUseSimpleHostFormat
(Configuration conf, HostAddress hostAddress, int index) Method parameters in org.mariadb.jdbc with type arguments of type HostAddressModifier and TypeMethodDescriptionConfiguration.Builder.addresses
(List<HostAddress> hostAddress) add host addresses -
Uses of HostAddress in org.mariadb.jdbc.client
Methods in org.mariadb.jdbc.client that return HostAddress -
Uses of HostAddress in org.mariadb.jdbc.client.context
Fields in org.mariadb.jdbc.client.context declared as HostAddressConstructors in org.mariadb.jdbc.client.context with parameters of type HostAddressModifierConstructorDescriptionBaseContext
(HostAddress hostAddress, InitialHandshakePacket handshake, long clientCapabilities, Configuration conf, ExceptionFactory exceptionFactory, PrepareCache prepareCache) Constructor of connection contextRedoContext
(HostAddress hostAddress, InitialHandshakePacket handshake, long clientCapabilities, Configuration conf, ExceptionFactory exceptionFactory, PrepareCache prepareCache) Constructor -
Uses of HostAddress in org.mariadb.jdbc.client.impl
Fields in org.mariadb.jdbc.client.impl declared as HostAddressFields in org.mariadb.jdbc.client.impl with type parameters of type HostAddressModifier and TypeFieldDescriptionprotected static final ConcurrentMap
<HostAddress, Long> MultiPrimaryClient.denyList
temporary blacklisted hostsMethods in org.mariadb.jdbc.client.impl that return HostAddressModifier and TypeMethodDescriptionMultiPrimaryClient.getHostAddress()
MultiPrimaryReplicaClient.getHostAddress()
StandardClient.getHostAddress()
Methods in org.mariadb.jdbc.client.impl that return types with arguments of type HostAddressModifier and TypeMethodDescriptionprivate Optional
<HostAddress> MultiPrimaryClient.findHostWithLowestDenyTimeout
(boolean readOnly) Methods in org.mariadb.jdbc.client.impl with parameters of type HostAddressModifier and TypeMethodDescriptionprivate void
MultiPrimaryClient.addToDenyList
(HostAddress host) private static long
ConnectionHelper.applyConnectionCapabilities
(long capabilities, Configuration configuration, HostAddress hostAddress) void
StandardClient.authenticationHandler
(Credential credential, HostAddress hostAddress) static Socket
ConnectionHelper.connectSocket
(Configuration conf, HostAddress hostAddress) Connect socketprivate Client
MultiPrimaryClient.createClient
(HostAddress host) static Socket
ConnectionHelper.createSocket
(Configuration conf, HostAddress hostAddress) Create socket accordingly to options.static long
ConnectionHelper.initializeClientCapabilities
(Configuration configuration, long serverCapabilities, HostAddress hostAddress) Initialize client capability according to configuration and server capabilities.static Credential
ConnectionHelper.loadCredential
(CredentialPlugin credentialPlugin, Configuration configuration, HostAddress hostAddress) Load user/password plugin if configured to.private static boolean
ConnectionHelper.shouldConnectWithDb
(Configuration configuration, HostAddress hostAddress) private static boolean
ConnectionHelper.shouldEnableSsl
(Configuration configuration, HostAddress hostAddress) static Socket
ConnectionHelper.standardSocket
(Configuration conf, HostAddress hostAddress) Use standard socket implementation.Constructors in org.mariadb.jdbc.client.impl with parameters of type HostAddressModifierConstructorDescriptionReplayClient
(Configuration conf, HostAddress hostAddress, ClosableLock lock, boolean skipPostCommands) ConstructorStandardClient
(Configuration conf, HostAddress hostAddress, ClosableLock lock, boolean skipPostCommands) Constructor -
Uses of HostAddress in org.mariadb.jdbc.client.socket
Methods in org.mariadb.jdbc.client.socket with parameters of type HostAddressModifier and TypeMethodDescriptionvoid
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.client.socket.impl
Methods in org.mariadb.jdbc.client.socket.impl with parameters of type HostAddressModifier and TypeMethodDescriptionSocketHandlerFunction.apply
(Configuration conf, HostAddress hostAddress) Create socketvoid
PacketReader.setServerThreadId
(Long serverThreadId, HostAddress hostAddress) Set server thread id.void
PacketWriter.setServerThreadId
(Long serverThreadId, HostAddress hostAddress) Set server thread id. -
Uses of HostAddress in org.mariadb.jdbc.export
Fields in org.mariadb.jdbc.export declared as HostAddressModifier and TypeFieldDescriptionprivate final HostAddress
ExceptionFactory.hostAddress
private HostAddress
HaMode.lastRoundRobinPrimaryHost
private HostAddress
HaMode.lastRoundRobinSecondaryHost
Methods in org.mariadb.jdbc.export that return HostAddressModifier and TypeMethodDescriptionstatic 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 HostAddressModifier and TypeMethodDescriptionabstract 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 HostAddressModifier and TypeMethodDescriptionabstract 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.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 HostAddressModifierConstructorDescriptionExceptionFactory
(Configuration conf, HostAddress hostAddress) Connection Exception factory constructorprivate
ExceptionFactory
(Connection connection, MariaDbPoolConnection poolConnection, Configuration conf, HostAddress hostAddress, long threadId, Statement statement) 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 HostAddressModifier and TypeMethodDescriptionTlsSocketPlugin.getTrustManager
(Configuration conf, ExceptionFactory exceptionFactory, HostAddress hostAddress) AuthenticationPluginFactory.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 HostAddressModifier and TypeMethodDescriptionClearPasswordPluginFactory.initialize
(String authenticationData, byte[] seed, Configuration conf, HostAddress hostAddress) Initialization.SendGssApiAuthPacketFactory.initialize
(String authenticationData, byte[] seed, Configuration conf, HostAddress hostAddress) Initialization. -
Uses of HostAddress in org.mariadb.jdbc.plugin.authentication.standard
Fields in org.mariadb.jdbc.plugin.authentication.standard declared as HostAddressMethods in org.mariadb.jdbc.plugin.authentication.standard with parameters of type HostAddressModifier and TypeMethodDescriptionvoid
CachingSha2PasswordPlugin.initialize
(String authenticationData, byte[] seed, Configuration conf, HostAddress hostAddress) Initialized data.CachingSha2PasswordPluginFactory.initialize
(String authenticationData, byte[] seed, Configuration conf, HostAddress hostAddress) Ed25519PasswordPluginFactory.initialize
(String authenticationData, byte[] seed, Configuration conf, HostAddress hostAddress) NativePasswordPluginFactory.initialize
(String authenticationData, byte[] seed, Configuration conf, HostAddress hostAddress) ParsecPasswordPluginFactory.initialize
(String authenticationData, byte[] seed, Configuration conf, HostAddress hostAddress) Initialization.SendPamAuthPacketFactory.initialize
(String authenticationData, byte[] seed, Configuration conf, HostAddress hostAddress) Initialization.Constructors in org.mariadb.jdbc.plugin.authentication.standard with parameters of type HostAddressModifierConstructorDescriptionCachingSha2PasswordPlugin
(String authenticationData, byte[] seed, Configuration conf, HostAddress hostAddress) Ed25519PasswordPlugin
(String authenticationData, byte[] seed, Configuration conf, HostAddress hostAddress) -
Uses of HostAddress in org.mariadb.jdbc.plugin.credential.env
Methods in org.mariadb.jdbc.plugin.credential.env with parameters of type HostAddressModifier and TypeMethodDescriptionEnvCredentialPlugin.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 HostAddressModifier and TypeMethodDescriptionPropertiesCredentialPlugin.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 HostAddressModifier and TypeMethodDescriptionDefaultTlsSocketPlugin.getTrustManager
(Configuration conf, ExceptionFactory exceptionFactory, HostAddress hostAddress)