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 Hostprivate static HostAddress
HostAddress.parseParameterHostAddress
(String str, HaMode haMode, boolean first) private static HostAddress
HostAddress.parseSimpleHostAddress
(String str, HaMode haMode, boolean first) 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 addressesConstructor parameters in org.mariadb.jdbc with type arguments of type HostAddressModifierConstructorDescriptionprivate
Configuration
(String user, String password, String database, List<HostAddress> addresses, HaMode haMode, Properties nonMappedOptions, String timezone, String connectionTimeZone, boolean forceConnectionTimeZoneToSession, boolean preserveInstants, Boolean autocommit, boolean useMysqlMetadata, boolean nullDatabaseMeansCurrent, CatalogTerm useCatalogTerm, boolean createDatabaseIfNotExist, boolean useLocalSessionState, boolean returnMultiValuesGeneratedIds, boolean jdbcCompliantTruncation, boolean permitRedirect, TransactionIsolation transactionIsolation, int defaultFetchSize, int maxQuerySizeToLog, Integer maxAllowedPacket, String geometryDefaultType, String restrictedAuth, String initSql, String socketFactory, int connectTimeout, String pipe, String localSocket, boolean tcpKeepAlive, boolean uuidAsString, int tcpKeepIdle, int tcpKeepCount, int tcpKeepInterval, boolean tcpAbortiveClose, String localSocketAddress, int socketTimeout, boolean useReadAheadInput, String tlsSocketType, SslMode sslMode, String serverSslCert, String keyStore, String keyStorePassword, String keyPassword, String keyStoreType, String trustStoreType, String enabledSslCipherSuites, String enabledSslProtocolSuites, boolean fallbackToSystemKeyStore, boolean fallbackToSystemTrustStore, boolean allowMultiQueries, boolean allowLocalInfile, boolean useCompression, boolean useAffectedRows, boolean useBulkStmts, boolean useBulkStmtsForInserts, boolean disablePipeline, boolean cachePrepStmts, int prepStmtCacheSize, boolean useServerPrepStmts, CredentialPlugin credentialType, String sessionVariables, String connectionAttributes, String servicePrincipalName, boolean blankTableNameMeta, boolean tinyInt1isBit, boolean transformedBitIsBoolean, boolean yearIsDateType, boolean dumpQueriesOnException, boolean includeInnodbStatusInDeadlockExceptions, boolean includeThreadDumpInDeadlockExceptions, int retriesAllDown, String galeraAllowedState, boolean transactionReplay, int transactionReplaySize, boolean pool, String poolName, int maxPoolSize, int minPoolSize, int maxIdleTime, boolean registerJmxPool, int poolValidMinDelay, boolean useResetConnection, String serverRsaPublicKeyFile, boolean allowPublicKeyRetrieval) private
Configuration
(String database, List<HostAddress> addresses, HaMode haMode, String user, String password, String enabledSslProtocolSuites, Boolean fallbackToSystemKeyStore, Boolean fallbackToSystemTrustStore, String socketFactory, Integer connectTimeout, String pipe, String localSocket, Boolean tcpKeepAlive, Boolean uuidAsString, Integer tcpKeepIdle, Integer tcpKeepCount, Integer tcpKeepInterval, Boolean tcpAbortiveClose, String localSocketAddress, Integer socketTimeout, Boolean allowMultiQueries, Boolean allowLocalInfile, Boolean useCompression, Boolean blankTableNameMeta, String credentialType, String sslMode, String transactionIsolation, String enabledSslCipherSuites, String sessionVariables, Boolean tinyInt1isBit, Boolean transformedBitIsBoolean, Boolean yearIsDateType, String timezone, String connectionTimeZone, Boolean forceConnectionTimeZoneToSession, Boolean preserveInstants, Boolean dumpQueriesOnException, Integer prepStmtCacheSize, Boolean useAffectedRows, Boolean useServerPrepStmts, String connectionAttributes, Boolean useBulkStmts, Boolean useBulkStmtsForInserts, Boolean disablePipeline, Boolean autocommit, Boolean useMysqlMetadata, Boolean nullDatabaseMeansCurrent, String useCatalogTerm, Boolean createDatabaseIfNotExist, Boolean useLocalSessionState, Boolean returnMultiValuesGeneratedIds, Boolean jdbcCompliantTruncation, Boolean permitRedirect, Boolean includeInnodbStatusInDeadlockExceptions, Boolean includeThreadDumpInDeadlockExceptions, String servicePrincipalName, Integer defaultFetchSize, String tlsSocketType, Integer maxQuerySizeToLog, Integer maxAllowedPacket, Integer retriesAllDown, String galeraAllowedState, Boolean pool, String poolName, Integer maxPoolSize, Integer minPoolSize, Integer maxIdleTime, Boolean registerJmxPool, Integer poolValidMinDelay, Boolean useResetConnection, String serverRsaPublicKeyFile, Boolean allowPublicKeyRetrieval, String serverSslCert, String keyStore, String keyStorePassword, String keyPassword, String keyStoreType, String trustStoreType, Boolean useReadAheadInput, Boolean cachePrepStmts, Boolean transactionReplay, Integer transactionReplaySize, String geometryDefaultType, String restrictedAuth, String initSql, Properties nonMappedOptions) -
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 with parameters of type HostAddressModifier and TypeMethodDescriptionstatic Socket
ConnectionHelper.connectSocket
(Configuration conf, HostAddress hostAddress) Connect socketstatic 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.StandardClient.sslWrapper
(HostAddress hostAddress, Socket socket, long clientCapabilities, byte exchangeCharset, Context context, Writer writer) Create SSL wrapperstatic 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 TypeMethodDescriptiondefault CredentialPlugin
CredentialPlugin.initialize
(Configuration conf, String userName, HostAddress hostAddress) Permit initializing plugin if overridden -
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)