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>Configuration.Builder. _addressesprivate java.util.List<HostAddress>Configuration. addressesMethods in org.mariadb.jdbc that return HostAddress Modifier and Type Method Description static HostAddressHostAddress. from(java.lang.String host, int port)Create a Host without knowledge of primary/replica goalstatic HostAddressHostAddress. from(java.lang.String host, int port, boolean primary)Create a Hoststatic HostAddressHostAddress. from(java.lang.String host, int port, boolean primary, java.lang.String sslMode)Create a Hoststatic HostAddressHostAddress. from(java.lang.String host, int port, java.lang.String sslMode)Create a Hoststatic HostAddressHostAddress. localSocket(java.lang.String localSocket)Constructor for unix socket hostprivate static HostAddressHostAddress. parseParameterHostAddress(java.lang.String str, HaMode haMode, boolean first)private static HostAddressHostAddress. parseSimpleHostAddress(java.lang.String str, HaMode haMode, boolean first)Parse Single hoststatic HostAddressHostAddress. pipe(java.lang.String pipe)Constructor for windows pipe hostHostAddressHostAddress. withLocalSocket(java.lang.String localSocket)HostAddressHostAddress. withPipe(java.lang.String pipe)HostAddressHostAddress. withPort(int port)Methods in org.mariadb.jdbc that return types with arguments of type HostAddress Modifier and Type Method Description java.util.List<HostAddress>Configuration. addresses()addressesstatic 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 Configuration.BuilderConfiguration.Builder. addresses(HostAddress... hostAddress)add host addressesMethod parameters in org.mariadb.jdbc with type arguments of type HostAddress Modifier and Type Method Description Configuration.BuilderConfiguration.Builder. addresses(java.util.List<HostAddress> hostAddress)add host addressesConstructor parameters in org.mariadb.jdbc with type arguments of type HostAddress Constructor Description Configuration(java.lang.String user, java.lang.String password, java.lang.String database, java.util.List<HostAddress> addresses, HaMode haMode, java.util.Properties nonMappedOptions, java.lang.String timezone, java.lang.String connectionTimeZone, java.lang.String connectionCollation, boolean forceConnectionTimeZoneToSession, boolean preserveInstants, java.lang.Boolean autocommit, boolean useMysqlMetadata, boolean nullDatabaseMeansCurrent, CatalogTerm useCatalogTerm, boolean createDatabaseIfNotExist, boolean useLocalSessionState, boolean returnMultiValuesGeneratedIds, boolean jdbcCompliantTruncation, boolean permitRedirect, boolean pinGlobalTxToPhysicalConnection, TransactionIsolation transactionIsolation, int defaultFetchSize, int maxQuerySizeToLog, java.lang.Integer maxAllowedPacket, java.lang.String geometryDefaultType, java.lang.String restrictedAuth, java.lang.String initSql, java.lang.String socketFactory, int connectTimeout, java.lang.String pipe, java.lang.String localSocket, boolean tcpKeepAlive, boolean uuidAsString, int tcpKeepIdle, int tcpKeepCount, int tcpKeepInterval, boolean tcpAbortiveClose, java.lang.String localSocketAddress, int socketTimeout, boolean useReadAheadInput, java.lang.String tlsSocketType, SslMode sslMode, java.lang.String serverSslCert, java.lang.String keyStore, java.lang.String trustStore, java.lang.String keyStorePassword, java.lang.String trustStorePassword, java.lang.String keyPassword, java.lang.String keyStoreType, java.lang.String trustStoreType, java.lang.String enabledSslCipherSuites, java.lang.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, java.lang.String sessionVariables, java.lang.String connectionAttributes, java.lang.String servicePrincipalName, boolean blankTableNameMeta, boolean tinyInt1isBit, boolean transformedBitIsBoolean, boolean yearIsDateType, boolean dumpQueriesOnException, boolean includeInnodbStatusInDeadlockExceptions, boolean includeThreadDumpInDeadlockExceptions, int retriesAllDown, java.lang.String galeraAllowedState, boolean transactionReplay, int transactionReplaySize, boolean pool, java.lang.String poolName, int maxPoolSize, int minPoolSize, int maxIdleTime, boolean registerJmxPool, int poolValidMinDelay, boolean useResetConnection, java.lang.String serverRsaPublicKeyFile, boolean allowPublicKeyRetrieval)Configuration(java.lang.String database, java.util.List<HostAddress> addresses, HaMode haMode, java.lang.String user, java.lang.String password, java.lang.String enabledSslProtocolSuites, java.lang.Boolean fallbackToSystemKeyStore, java.lang.Boolean fallbackToSystemTrustStore, java.lang.String socketFactory, java.lang.Integer connectTimeout, java.lang.String pipe, java.lang.String localSocket, java.lang.Boolean tcpKeepAlive, java.lang.Boolean uuidAsString, java.lang.Integer tcpKeepIdle, java.lang.Integer tcpKeepCount, java.lang.Integer tcpKeepInterval, java.lang.Boolean tcpAbortiveClose, java.lang.String localSocketAddress, java.lang.Integer socketTimeout, java.lang.Boolean allowMultiQueries, java.lang.Boolean allowLocalInfile, java.lang.Boolean useCompression, java.lang.Boolean blankTableNameMeta, java.lang.String credentialType, java.lang.String sslMode, java.lang.String transactionIsolation, java.lang.String enabledSslCipherSuites, java.lang.String sessionVariables, java.lang.Boolean tinyInt1isBit, java.lang.Boolean transformedBitIsBoolean, java.lang.Boolean yearIsDateType, java.lang.String timezone, java.lang.String connectionTimeZone, java.lang.String connectionCollation, java.lang.Boolean forceConnectionTimeZoneToSession, java.lang.Boolean preserveInstants, java.lang.Boolean dumpQueriesOnException, java.lang.Integer prepStmtCacheSize, java.lang.Boolean useAffectedRows, java.lang.Boolean useServerPrepStmts, java.lang.String connectionAttributes, java.lang.Boolean useBulkStmts, java.lang.Boolean useBulkStmtsForInserts, java.lang.Boolean disablePipeline, java.lang.Boolean autocommit, java.lang.Boolean useMysqlMetadata, java.lang.Boolean nullDatabaseMeansCurrent, java.lang.String useCatalogTerm, java.lang.Boolean createDatabaseIfNotExist, java.lang.Boolean useLocalSessionState, java.lang.Boolean returnMultiValuesGeneratedIds, java.lang.Boolean jdbcCompliantTruncation, java.lang.Boolean permitRedirect, java.lang.Boolean pinGlobalTxToPhysicalConnection, java.lang.Boolean includeInnodbStatusInDeadlockExceptions, java.lang.Boolean includeThreadDumpInDeadlockExceptions, java.lang.String servicePrincipalName, java.lang.Integer defaultFetchSize, java.lang.String tlsSocketType, java.lang.Integer maxQuerySizeToLog, java.lang.Integer maxAllowedPacket, java.lang.Integer retriesAllDown, java.lang.String galeraAllowedState, java.lang.Boolean pool, java.lang.String poolName, java.lang.Integer maxPoolSize, java.lang.Integer minPoolSize, java.lang.Integer maxIdleTime, java.lang.Boolean registerJmxPool, java.lang.Integer poolValidMinDelay, java.lang.Boolean useResetConnection, java.lang.String serverRsaPublicKeyFile, java.lang.Boolean allowPublicKeyRetrieval, java.lang.String serverSslCert, java.lang.String keyStore, java.lang.String trustStore, java.lang.String keyStorePassword, java.lang.String trustStorePassword, java.lang.String keyPassword, java.lang.String keyStoreType, java.lang.String trustStoreType, java.lang.Boolean useReadAheadInput, java.lang.Boolean cachePrepStmts, java.lang.Boolean transactionReplay, java.lang.Integer transactionReplaySize, java.lang.String geometryDefaultType, java.lang.String restrictedAuth, java.lang.String initSql, java.util.Properties nonMappedOptions) -
Uses of HostAddress in org.mariadb.jdbc.client
Methods in org.mariadb.jdbc.client that return HostAddress Modifier and Type Method Description HostAddressClient. getHostAddress()Get connection host -
Uses of HostAddress in org.mariadb.jdbc.client.context
Fields in org.mariadb.jdbc.client.context declared as HostAddress Modifier and Type Field Description private HostAddressBaseContext. hostAddressConstructors in org.mariadb.jdbc.client.context with parameters of type HostAddress Constructor Description BaseContext(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 HostAddress Modifier and Type Field Description private HostAddressStandardClient. hostAddressFields in org.mariadb.jdbc.client.impl with type parameters of type HostAddress Modifier and Type Field Description protected static java.util.concurrent.ConcurrentMap<HostAddress,java.lang.Long>MultiPrimaryClient. denyListtemporary blacklisted hostsMethods in org.mariadb.jdbc.client.impl that return HostAddress Modifier and Type Method Description HostAddressMultiPrimaryClient. getHostAddress()HostAddressMultiPrimaryReplicaClient. getHostAddress()HostAddressStandardClient. getHostAddress()Methods in org.mariadb.jdbc.client.impl with parameters of type HostAddress Modifier and Type Method Description voidStandardClient. authenticationHandler(Credential credential, HostAddress hostAddress)static java.net.SocketConnectionHelper. connectSocket(Configuration conf, HostAddress hostAddress)Connect socketstatic java.net.SocketConnectionHelper. createSocket(Configuration conf, HostAddress hostAddress)Create socket accordingly to options.static longConnectionHelper. initializeClientCapabilities(Configuration configuration, long serverCapabilities, HostAddress hostAddress)Initialize client capability according to configuration and server capabilities.static CredentialConnectionHelper. loadCredential(CredentialPlugin credentialPlugin, Configuration configuration, HostAddress hostAddress)Load user/password plugin if configured to.javax.net.ssl.SSLSocketStandardClient. sslWrapper(HostAddress hostAddress, java.net.Socket socket, long clientCapabilities, byte exchangeCharset, Context context, Writer writer)Create SSL wrapperstatic java.net.SocketConnectionHelper. standardSocket(Configuration conf, HostAddress hostAddress)Use standard socket implementation.Constructors in org.mariadb.jdbc.client.impl with parameters of type HostAddress Constructor Description ReplayClient(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 HostAddress Modifier and Type Method Description voidReader. setServerThreadId(java.lang.Long serverThreadId, HostAddress hostAddress)Set server thread id.voidWriter. setServerThreadId(java.lang.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 HostAddress Modifier and Type Method Description java.net.SocketSocketHandlerFunction. apply(Configuration conf, HostAddress hostAddress)Create socketvoidPacketReader. setServerThreadId(java.lang.Long serverThreadId, HostAddress hostAddress)Set server thread id.voidPacketWriter. setServerThreadId(java.lang.Long serverThreadId, HostAddress hostAddress)Set server thread id. -
Uses of HostAddress in org.mariadb.jdbc.export
Fields in org.mariadb.jdbc.export declared as HostAddress Modifier and Type Field Description private HostAddressExceptionFactory. hostAddressprivate HostAddressHaMode. lastRoundRobinPrimaryHostprivate HostAddressHaMode. lastRoundRobinSecondaryHostMethods in org.mariadb.jdbc.export that return HostAddress Modifier and Type Method Description static HostAddressHaMode. getHostWithLessConnections(java.util.List<HostAddress> hostAddresses, java.util.concurrent.ConcurrentMap<HostAddress,java.lang.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 HostAddress Modifier and Type Method Description abstract java.util.Optional<HostAddress>HaMode. getAvailableHost(java.util.List<HostAddress> hostAddresses, java.util.concurrent.ConcurrentMap<HostAddress,java.lang.Long> denyList, boolean primary)List of hosts without blacklist entries, ordered according to HA modestatic java.util.Optional<HostAddress>HaMode. getAvailableHostInOrder(java.util.List<HostAddress> hostAddresses, java.util.concurrent.ConcurrentMap<HostAddress,java.lang.Long> denyList, boolean primary)return hosts of corresponding type (primary or not) without blacklisted hosts.static java.util.Optional<HostAddress>HaMode. getAvailableRoundRobinHost(HaMode haMode, java.util.List<HostAddress> hostAddresses, java.util.concurrent.ConcurrentMap<HostAddress,java.lang.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 HostAddress Modifier and Type Method Description abstract java.util.Optional<HostAddress>HaMode. getAvailableHost(java.util.List<HostAddress> hostAddresses, java.util.concurrent.ConcurrentMap<HostAddress,java.lang.Long> denyList, boolean primary)List of hosts without blacklist entries, ordered according to HA modeabstract java.util.Optional<HostAddress>HaMode. getAvailableHost(java.util.List<HostAddress> hostAddresses, java.util.concurrent.ConcurrentMap<HostAddress,java.lang.Long> denyList, boolean primary)List of hosts without blacklist entries, ordered according to HA modestatic java.util.Optional<HostAddress>HaMode. getAvailableHostInOrder(java.util.List<HostAddress> hostAddresses, java.util.concurrent.ConcurrentMap<HostAddress,java.lang.Long> denyList, boolean primary)return hosts of corresponding type (primary or not) without blacklisted hosts.static java.util.Optional<HostAddress>HaMode. getAvailableHostInOrder(java.util.List<HostAddress> hostAddresses, java.util.concurrent.ConcurrentMap<HostAddress,java.lang.Long> denyList, boolean primary)return hosts of corresponding type (primary or not) without blacklisted hosts.static java.util.Optional<HostAddress>HaMode. getAvailableRoundRobinHost(HaMode haMode, java.util.List<HostAddress> hostAddresses, java.util.concurrent.ConcurrentMap<HostAddress,java.lang.Long> denyList, boolean primary)return hosts of corresponding type (primary or not) without blacklisted hosts.static java.util.Optional<HostAddress>HaMode. getAvailableRoundRobinHost(HaMode haMode, java.util.List<HostAddress> hostAddresses, java.util.concurrent.ConcurrentMap<HostAddress,java.lang.Long> denyList, boolean primary)return hosts of corresponding type (primary or not) without blacklisted hosts.static HostAddressHaMode. getHostWithLessConnections(java.util.List<HostAddress> hostAddresses, java.util.concurrent.ConcurrentMap<HostAddress,java.lang.Long> denyList, boolean primary)If all hosts not blacklisted connection number are known, choose the host with the less connections.static HostAddressHaMode. getHostWithLessConnections(java.util.List<HostAddress> hostAddresses, java.util.concurrent.ConcurrentMap<HostAddress,java.lang.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 HostAddress Constructor Description ExceptionFactory(Configuration conf, HostAddress hostAddress)Connection Exception factory constructorExceptionFactory(Connection connection, MariaDbPoolConnection poolConnection, Configuration conf, HostAddress hostAddress, long threadId, java.sql.Statement statement)SqlExceptionFactory(Connection connection, MariaDbPoolConnection poolConnection, Configuration conf, HostAddress hostAddress, long threadId, java.sql.Statement statement, java.lang.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 HostAddress Modifier and Type Method Description javax.net.ssl.TrustManager[]TlsSocketPlugin. getTrustManager(Configuration conf, ExceptionFactory exceptionFactory, HostAddress hostAddress)voidAuthenticationPlugin. initialize(java.lang.String authenticationData, byte[] seed, Configuration conf, HostAddress hostAddress)Plugin initialization.default CredentialPluginCredentialPlugin. initialize(Configuration conf, java.lang.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 HostAddress Modifier and Type Method Description voidClearPasswordPlugin. initialize(java.lang.String authenticationData, byte[] seed, Configuration conf, HostAddress hostAddress)Initialization.voidSendGssApiAuthPacket. initialize(java.lang.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 HostAddress Modifier and Type Field Description private HostAddressCachingSha2PasswordPlugin. hostAddressMethods in org.mariadb.jdbc.plugin.authentication.standard with parameters of type HostAddress Modifier and Type Method Description voidCachingSha2PasswordPlugin. initialize(java.lang.String authenticationData, byte[] seed, Configuration conf, HostAddress hostAddress)Initialized data.voidEd25519PasswordPlugin. initialize(java.lang.String authenticationData, byte[] seed, Configuration conf, HostAddress hostAddress)Initialization.voidNativePasswordPlugin. initialize(java.lang.String authenticationData, byte[] seed, Configuration conf, HostAddress hostAddress)Initialized data.voidSendPamAuthPacket. initialize(java.lang.String authenticationData, byte[] seed, Configuration conf, HostAddress hostAddress)Initialization. -
Uses of HostAddress in org.mariadb.jdbc.plugin.credential.env
Methods in org.mariadb.jdbc.plugin.credential.env with parameters of type HostAddress Modifier and Type Method Description CredentialPluginEnvCredentialPlugin. initialize(Configuration conf, java.lang.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 HostAddress Modifier and Type Method Description CredentialPluginPropertiesCredentialPlugin. initialize(Configuration conf, java.lang.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 HostAddress Modifier and Type Method Description javax.net.ssl.TrustManager[]DefaultTlsSocketPlugin. getTrustManager(Configuration conf, ExceptionFactory exceptionFactory, HostAddress hostAddress)
-