Uses of Enum Class
org.mariadb.jdbc.export.HaMode
Packages that use HaMode
-
Uses of HaMode in org.mariadb.jdbc
Fields in org.mariadb.jdbc declared as HaModeModifier and TypeFieldDescriptionprivate HaMode
Configuration.Builder._haMode
private HaMode
Configuration.haMode
Methods in org.mariadb.jdbc that return HaModeModifier and TypeMethodDescriptionConfiguration.haMode()
High availability modeprivate static HaMode
Configuration.parseHaMode
(String url, int separator) Methods in org.mariadb.jdbc with parameters of type HaModeModifier and TypeMethodDescriptionSet failover High-availability modestatic List
<HostAddress> parse - parse server addresses from the URL fragment.private static HostAddress
HostAddress.parseParameterHostAddress
(String str, HaMode haMode, boolean first) private static HostAddress
HostAddress.parseSimpleHostAddress
(String str, HaMode haMode, boolean first) Constructors in org.mariadb.jdbc with parameters of type HaModeModifierConstructorDescriptionprivate
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 HaMode in org.mariadb.jdbc.export
Methods in org.mariadb.jdbc.export that return HaModeModifier and TypeMethodDescriptionstatic HaMode
Get HAMode from values or aliasesstatic HaMode
Returns the enum constant of this class with the specified name.static HaMode[]
HaMode.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.mariadb.jdbc.export with parameters of type HaModeModifier and TypeMethodDescriptionstatic 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.