- addProperty
MySQLConnectOptions addProperty(string key, string value)
Undocumented in source. Be warned that the author may not have intended to support it.
- getCollation
string getCollation()
Get the collation for the connection.
- initialize
void initialize()
Initialize with the default options.
- setCachePreparedStatements
MySQLConnectOptions setCachePreparedStatements(bool cachePreparedStatements)
Undocumented in source. Be warned that the author may not have intended to support it.
- setCollation
MySQLConnectOptions setCollation(string collation)
Set the collation for the connection.
- setConnectTimeout
MySQLConnectOptions setConnectTimeout(Duration connectTimeout)
Undocumented in source. Be warned that the author may not have intended to support it.
- setDatabase
MySQLConnectOptions setDatabase(string database)
Undocumented in source. Be warned that the author may not have intended to support it.
- setDecoderBufferSize
MySQLConnectOptions setDecoderBufferSize(int size)
Undocumented in source. Be warned that the author may not have intended to support it.
- setEncoderBufferSize
MySQLConnectOptions setEncoderBufferSize(int size)
Undocumented in source. Be warned that the author may not have intended to support it.
- setHost
MySQLConnectOptions setHost(string host)
Undocumented in source. Be warned that the author may not have intended to support it.
- setHostnameVerificationAlgorithm
MySQLConnectOptions setHostnameVerificationAlgorithm(string hostnameVerificationAlgorithm)
Undocumented in source. Be warned that the author may not have intended to support it.
- setIdleTimeout
MySQLConnectOptions setIdleTimeout(Duration idleTimeout)
Undocumented in source. Be warned that the author may not have intended to support it.
- setLocalAddress
MySQLConnectOptions setLocalAddress(string localAddress)
Undocumented in source. Be warned that the author may not have intended to support it.
- setLogActivity
MySQLConnectOptions setLogActivity(bool logEnabled)
Undocumented in source. Be warned that the author may not have intended to support it.
- setMetricsName
MySQLConnectOptions setMetricsName(string metricsName)
Undocumented in source. Be warned that the author may not have intended to support it.
- setPassword
MySQLConnectOptions setPassword(string password)
Undocumented in source. Be warned that the author may not have intended to support it.
- setPort
MySQLConnectOptions setPort(int port)
Undocumented in source. Be warned that the author may not have intended to support it.
- setPreparedStatementCacheMaxSize
MySQLConnectOptions setPreparedStatementCacheMaxSize(int preparedStatementCacheMaxSize)
Undocumented in source. Be warned that the author may not have intended to support it.
- setPreparedStatementCacheSqlLimit
MySQLConnectOptions setPreparedStatementCacheSqlLimit(int preparedStatementCacheSqlLimit)
Undocumented in source. Be warned that the author may not have intended to support it.
- setProperties
MySQLConnectOptions setProperties(Map!(string, string) properties)
Undocumented in source. Be warned that the author may not have intended to support it.
- setProxyOptions
MySQLConnectOptions setProxyOptions(ProxyOptions proxyOptions)
Undocumented in source. Be warned that the author may not have intended to support it.
- setReceiveBufferSize
MySQLConnectOptions setReceiveBufferSize(int receiveBufferSize)
Undocumented in source. Be warned that the author may not have intended to support it.
- setReconnectAttempts
MySQLConnectOptions setReconnectAttempts(int attempts)
Undocumented in source. Be warned that the author may not have intended to support it.
- setReconnectInterval
MySQLConnectOptions setReconnectInterval(Duration interval)
Undocumented in source. Be warned that the author may not have intended to support it.
- setReuseAddress
MySQLConnectOptions setReuseAddress(bool reuseAddress)
Undocumented in source. Be warned that the author may not have intended to support it.
- setReusePort
MySQLConnectOptions setReusePort(bool reusePort)
Undocumented in source. Be warned that the author may not have intended to support it.
- setSendBufferSize
MySQLConnectOptions setSendBufferSize(int sendBufferSize)
Undocumented in source. Be warned that the author may not have intended to support it.
- setSoLinger
MySQLConnectOptions setSoLinger(int soLinger)
Undocumented in source. Be warned that the author may not have intended to support it.
- setSslHandshakeTimeout
MySQLConnectOptions setSslHandshakeTimeout(Duration sslHandshakeTimeout)
Undocumented in source. Be warned that the author may not have intended to support it.
- setTcpCork
MySQLConnectOptions setTcpCork(bool tcpCork)
Undocumented in source. Be warned that the author may not have intended to support it.
- setTcpFastOpen
MySQLConnectOptions setTcpFastOpen(bool tcpFastOpen)
Undocumented in source. Be warned that the author may not have intended to support it.
- setTcpKeepAlive
MySQLConnectOptions setTcpKeepAlive(bool tcpKeepAlive)
Undocumented in source. Be warned that the author may not have intended to support it.
- setTcpNoDelay
MySQLConnectOptions setTcpNoDelay(bool tcpNoDelay)
Undocumented in source. Be warned that the author may not have intended to support it.
- setTcpQuickAck
MySQLConnectOptions setTcpQuickAck(bool tcpQuickAck)
Undocumented in source. Be warned that the author may not have intended to support it.
- setTrafficClass
MySQLConnectOptions setTrafficClass(int trafficClass)
Undocumented in source. Be warned that the author may not have intended to support it.
- setTrustAll
MySQLConnectOptions setTrustAll(bool trustAll)
Undocumented in source. Be warned that the author may not have intended to support it.
- setUseAlpn
MySQLConnectOptions setUseAlpn(bool useAlpn)
Undocumented in source. Be warned that the author may not have intended to support it.
- setUser
MySQLConnectOptions setUser(string user)
Undocumented in source. Be warned that the author may not have intended to support it.
Connect options for configuring {@link MySQLConnection} or {@link MySQLPool}.