Class Options

  • All Implemented Interfaces:
    java.lang.Cloneable

    public class Options
    extends java.lang.Object
    implements java.lang.Cloneable
    • Field Detail

      • MIN_VALUE__MAX_IDLE_TIME

        public static final int MIN_VALUE__MAX_IDLE_TIME
        See Also:
        Constant Field Values
      • user

        public java.lang.String user
      • password

        public java.lang.String password
      • trustServerCertificate

        public boolean trustServerCertificate
      • serverSslCert

        public java.lang.String serverSslCert
      • trustStore

        public java.lang.String trustStore
      • trustStoreType

        public java.lang.String trustStoreType
      • keyStoreType

        public java.lang.String keyStoreType
      • trustStorePassword

        public java.lang.String trustStorePassword
      • keyStore

        public java.lang.String keyStore
      • keyStorePassword

        public java.lang.String keyStorePassword
      • keyPassword

        public java.lang.String keyPassword
      • enabledSslProtocolSuites

        public java.lang.String enabledSslProtocolSuites
      • useFractionalSeconds

        public boolean useFractionalSeconds
      • pinGlobalTxToPhysicalConnection

        public boolean pinGlobalTxToPhysicalConnection
      • socketFactory

        public java.lang.String socketFactory
      • connectTimeout

        public int connectTimeout
      • pipe

        public java.lang.String pipe
      • localSocket

        public java.lang.String localSocket
      • sharedMemory

        public java.lang.String sharedMemory
      • tcpNoDelay

        public boolean tcpNoDelay
      • tcpKeepAlive

        public boolean tcpKeepAlive
      • tcpRcvBuf

        public java.lang.Integer tcpRcvBuf
      • tcpSndBuf

        public java.lang.Integer tcpSndBuf
      • tcpAbortiveClose

        public boolean tcpAbortiveClose
      • localSocketAddress

        public java.lang.String localSocketAddress
      • socketTimeout

        public java.lang.Integer socketTimeout
      • allowMultiQueries

        public boolean allowMultiQueries
      • rewriteBatchedStatements

        public boolean rewriteBatchedStatements
      • useCompression

        public boolean useCompression
      • interactiveClient

        public boolean interactiveClient
      • passwordCharacterEncoding

        public java.lang.String passwordCharacterEncoding
      • blankTableNameMeta

        public boolean blankTableNameMeta
      • useSsl

        public boolean useSsl
      • enabledSslCipherSuites

        public java.lang.String enabledSslCipherSuites
      • sessionVariables

        public java.lang.String sessionVariables
      • tinyInt1isBit

        public boolean tinyInt1isBit
      • yearIsDateType

        public boolean yearIsDateType
      • createDatabaseIfNotExist

        public boolean createDatabaseIfNotExist
      • serverTimezone

        public java.lang.String serverTimezone
      • nullCatalogMeansCurrent

        public boolean nullCatalogMeansCurrent
      • dumpQueriesOnException

        public boolean dumpQueriesOnException
      • useOldAliasMetadataBehavior

        public boolean useOldAliasMetadataBehavior
      • useMysqlMetadata

        public boolean useMysqlMetadata
      • allowLocalInfile

        public boolean allowLocalInfile
      • cachePrepStmts

        public boolean cachePrepStmts
      • prepStmtCacheSize

        public int prepStmtCacheSize
      • prepStmtCacheSqlLimit

        public int prepStmtCacheSqlLimit
      • useLegacyDatetimeCode

        public boolean useLegacyDatetimeCode
      • useAffectedRows

        public boolean useAffectedRows
      • maximizeMysqlCompatibility

        public boolean maximizeMysqlCompatibility
      • useServerPrepStmts

        public boolean useServerPrepStmts
      • continueBatchOnError

        public boolean continueBatchOnError
      • jdbcCompliantTruncation

        public boolean jdbcCompliantTruncation
      • cacheCallableStmts

        public boolean cacheCallableStmts
      • callableStmtCacheSize

        public int callableStmtCacheSize
      • connectionAttributes

        public java.lang.String connectionAttributes
      • useBatchMultiSend

        public java.lang.Boolean useBatchMultiSend
      • useBatchMultiSendNumber

        public int useBatchMultiSendNumber
      • usePipelineAuth

        public java.lang.Boolean usePipelineAuth
      • enablePacketDebug

        public boolean enablePacketDebug
      • useBulkStmts

        public boolean useBulkStmts
      • disableSslHostnameVerification

        public boolean disableSslHostnameVerification
      • autocommit

        public boolean autocommit
      • includeInnodbStatusInDeadlockExceptions

        public boolean includeInnodbStatusInDeadlockExceptions
      • includeThreadDumpInDeadlockExceptions

        public boolean includeThreadDumpInDeadlockExceptions
      • servicePrincipalName

        public java.lang.String servicePrincipalName
      • defaultFetchSize

        public int defaultFetchSize
      • log

        public boolean log
      • profileSql

        public boolean profileSql
      • maxQuerySizeToLog

        public int maxQuerySizeToLog
      • slowQueryThresholdNanos

        public java.lang.Long slowQueryThresholdNanos
      • assureReadOnly

        public boolean assureReadOnly
      • autoReconnect

        public boolean autoReconnect
      • failOnReadOnly

        public boolean failOnReadOnly
      • retriesAllDown

        public int retriesAllDown
      • validConnectionTimeout

        public int validConnectionTimeout
      • loadBalanceBlacklistTimeout

        public int loadBalanceBlacklistTimeout
      • failoverLoopRetries

        public int failoverLoopRetries
      • allowMasterDownConnection

        public boolean allowMasterDownConnection
      • galeraAllowedState

        public java.lang.String galeraAllowedState
      • pool

        public boolean pool
      • poolName

        public java.lang.String poolName
      • maxPoolSize

        public int maxPoolSize
      • minPoolSize

        public java.lang.Integer minPoolSize
      • maxIdleTime

        public int maxIdleTime
      • staticGlobal

        public boolean staticGlobal
      • registerJmxPool

        public boolean registerJmxPool
      • poolValidMinDelay

        public int poolValidMinDelay
      • useResetConnection

        public boolean useResetConnection
      • useReadAheadInput

        public boolean useReadAheadInput
    • Constructor Detail

      • Options

        public Options()
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • clone

        public java.lang.Object clone()
                               throws java.lang.CloneNotSupportedException
        Overrides:
        clone in class java.lang.Object
        Throws:
        java.lang.CloneNotSupportedException