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 (package 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 addressesprivate static voidConfiguration. appendHostAddress(java.lang.StringBuilder sb, Configuration conf, HostAddress hostAddress, int index)private static booleanConfiguration. shouldUseSimpleHostFormat(Configuration conf, HostAddress hostAddress, int index)Method 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 addresses -
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, java.lang.Boolean loopbackAddress, java.lang.Runnable connectionCloser)Constructor of connection contextRedoContext(HostAddress hostAddress, InitialHandshakePacket handshake, long clientCapabilities, Configuration conf, ExceptionFactory exceptionFactory, PrepareCache prepareCache, java.lang.Boolean loopbackAddress, java.lang.Runnable connectionCloser)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()HostAddressStandardClient. getHostAddress()Methods in org.mariadb.jdbc.client.impl that return types with arguments of type HostAddress Modifier and Type Method Description private java.util.Optional<HostAddress>MultiPrimaryClient. findHostWithLowestDenyTimeout(boolean readOnly)Methods in org.mariadb.jdbc.client.impl with parameters of type HostAddress Modifier and Type Method Description private voidMultiPrimaryClient. addToDenyList(HostAddress host)private static longConnectionHelper. applyConnectionCapabilities(long capabilities, Configuration configuration, HostAddress hostAddress)voidStandardClient. authenticationHandler(Credential credential, HostAddress hostAddress)static java.net.SocketConnectionHelper. connectSocket(Configuration conf, HostAddress hostAddress)Connect socketprivate ClientMultiPrimaryClient. createClient(HostAddress host)static 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.private static booleanConnectionHelper. shouldConnectWithDb(Configuration configuration, HostAddress hostAddress)private static booleanConnectionHelper. shouldEnableSsl(Configuration configuration, HostAddress hostAddress)static 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 socket -
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 default javax.net.ssl.SSLSocketFactoryTlsSocketPlugin. getSocketFactory(Configuration conf, ExceptionFactory exceptionFactory, HostAddress hostAddress)Build anSSLSocketFactoryfor the given configuration.javax.net.ssl.TrustManager[]TlsSocketPlugin. getTrustManager(Configuration conf, ExceptionFactory exceptionFactory, HostAddress hostAddress)AuthenticationPluginAuthenticationPluginFactory. 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
Fields in org.mariadb.jdbc.plugin.authentication.addon declared as HostAddress Modifier and Type Field Description private HostAddressClearPasswordPlugin. hostAddressMethods in org.mariadb.jdbc.plugin.authentication.addon with parameters of type HostAddress Modifier and Type Method Description AuthenticationPluginClearPasswordPluginFactory. initialize(java.lang.String authenticationData, byte[] seed, Configuration conf, HostAddress hostAddress)Initialization.AuthenticationPluginSendGssApiAuthPacketFactory. initialize(java.lang.String authenticationData, byte[] seed, Configuration conf, HostAddress hostAddress)Initialization.Constructors in org.mariadb.jdbc.plugin.authentication.addon with parameters of type HostAddress Constructor Description ClearPasswordPlugin(java.lang.String authenticationData, HostAddress hostAddress, Configuration conf)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.AuthenticationPluginCachingSha2PasswordPluginFactory. initialize(java.lang.String authenticationData, byte[] seed, Configuration conf, HostAddress hostAddress)AuthenticationPluginEd25519PasswordPluginFactory. initialize(java.lang.String authenticationData, byte[] seed, Configuration conf, HostAddress hostAddress)AuthenticationPluginNativePasswordPluginFactory. initialize(java.lang.String authenticationData, byte[] seed, Configuration conf, HostAddress hostAddress)AuthenticationPluginParsecPasswordPluginFactory. initialize(java.lang.String authenticationData, byte[] seed, Configuration conf, HostAddress hostAddress)Initialization.AuthenticationPluginSendPamAuthPacketFactory. initialize(java.lang.String authenticationData, byte[] seed, Configuration conf, HostAddress hostAddress)Initialization.Constructors in org.mariadb.jdbc.plugin.authentication.standard with parameters of type HostAddress Constructor Description CachingSha2PasswordPlugin(java.lang.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 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 private DefaultTlsSocketPlugin.CachedTrustDefaultTlsSocketPlugin. buildTrust(Configuration conf, ExceptionFactory exceptionFactory, HostAddress hostAddress)(package private) javax.net.ssl.TrustManager[]DefaultTlsSocketPlugin. buildTrustManager(Configuration conf, ExceptionFactory exceptionFactory, HostAddress hostAddress)javax.net.ssl.TrustManager[]DefaultTlsSocketPlugin. getTrustManager(Configuration conf, ExceptionFactory exceptionFactory, HostAddress hostAddress)private static java.lang.StringDefaultTlsSocketPlugin. trustCacheKey(Configuration conf, HostAddress hostAddress)Cache key for the trust managers.
-