Uses of Class
org.mariadb.jdbc.HostAddress
-
-
Uses of HostAddress in org.mariadb.jdbc
Methods in org.mariadb.jdbc that return HostAddress Modifier and Type Method Description static HostAddressHostAddress. from(String host, int port)Create a Host without knowledge of primary/replica goalstatic HostAddressHostAddress. from(String host, int port, boolean primary)Create a HostMethods in org.mariadb.jdbc that return types with arguments of type HostAddress Modifier and Type Method Description List<HostAddress>Configuration. addresses()addressesstatic List<HostAddress>HostAddress. parse(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 addresses -
Uses of HostAddress in org.mariadb.jdbc.client.impl
Fields in org.mariadb.jdbc.client.impl with type parameters of type HostAddress Modifier and Type Field Description protected static ConcurrentMap<HostAddress,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 static SocketConnectionHelper. connectSocket(Configuration conf, HostAddress hostAddress)Connect socketstatic 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.static SSLSocketConnectionHelper. sslWrapper(HostAddress hostAddress, Socket socket, long clientCapabilities, byte exchangeCharset, org.mariadb.jdbc.client.Context context, Writer writer)Create SSL wrapperstatic 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, ReentrantLock lock, boolean skipPostCommands)ConstructorStandardClient(Configuration conf, HostAddress hostAddress, ReentrantLock 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(Long serverThreadId, HostAddress hostAddress)Set server thread id.voidWriter. 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 HostAddress Modifier and Type Method Description SocketSocketHandlerFunction. apply(Configuration conf, HostAddress hostAddress)Create socketvoidPacketReader. setServerThreadId(Long serverThreadId, HostAddress hostAddress)Set server thread id.voidPacketWriter. setServerThreadId(Long serverThreadId, HostAddress hostAddress)Set server thread id. -
Uses of HostAddress in org.mariadb.jdbc.export
Methods in org.mariadb.jdbc.export that return types with arguments of type HostAddress Modifier and Type Method Description abstract 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. getAvailableHostRandomOrder(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 HostAddress Modifier and Type Method Description abstract 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. getAvailableHostRandomOrder(List<HostAddress> hostAddresses, ConcurrentMap<HostAddress,Long> denyList, boolean primary)return hosts of corresponding type (primary or not) without blacklisted hosts.static Optional<HostAddress>HaMode. getAvailableHostRandomOrder(List<HostAddress> hostAddresses, ConcurrentMap<HostAddress,Long> denyList, boolean primary)return hosts of corresponding type (primary or not) without blacklisted hosts.Constructors in org.mariadb.jdbc.export with parameters of type HostAddress Constructor Description ExceptionFactory(Configuration conf, HostAddress hostAddress)Connection Exception factory constructorSqlExceptionFactory(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 HostAddress Modifier and Type Method Description default CredentialPluginCredentialPlugin. initialize(Configuration conf, String userName, HostAddress hostAddress)Permit initializing plugin if overridden -
Uses of HostAddress in org.mariadb.jdbc.plugin.credential.aws
Methods in org.mariadb.jdbc.plugin.credential.aws with parameters of type HostAddress Modifier and Type Method Description CredentialPluginAwsIamCredentialPlugin. initialize(Configuration conf, String userName, HostAddress hostAddress)Constructors in org.mariadb.jdbc.plugin.credential.aws with parameters of type HostAddress Constructor Description AwsCredentialGenerator(Properties nonMappedOptions, String userName, HostAddress hostAddress)AWS Generator. -
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, 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, String userName, HostAddress hostAddress)
-