- addProperty
PgConnectOptions addProperty(string key, string value)
Undocumented in source. Be warned that the author may not have intended to support it.
- getPipeliningLimit
int getPipeliningLimit()
Undocumented in source. Be warned that the author may not have intended to support it.
- getSslMode
SslMode getSslMode()
@return the value of current sslmode
- initialize
void initialize()
Initialize with the default options.
- isUsingDomainSocket
bool isUsingDomainSocket()
Undocumented in source. Be warned that the author may not have intended to support it.
- opEquals
bool opEquals(Object o)
Undocumented in source. Be warned that the author may not have intended to support it.
- setCachePreparedStatements
PgConnectOptions setCachePreparedStatements(bool cachePreparedStatements)
Undocumented in source. Be warned that the author may not have intended to support it.
- setConnectTimeout
PgConnectOptions setConnectTimeout(Duration connectTimeout)
Undocumented in source. Be warned that the author may not have intended to support it.
- setDatabase
PgConnectOptions setDatabase(string database)
Undocumented in source. Be warned that the author may not have intended to support it.
- setDecoderBufferSize
PgConnectOptions setDecoderBufferSize(int size)
Undocumented in source. Be warned that the author may not have intended to support it.
- setEncoderBufferSize
PgConnectOptions setEncoderBufferSize(int size)
Undocumented in source. Be warned that the author may not have intended to support it.
- setHost
PgConnectOptions setHost(string host)
Undocumented in source. Be warned that the author may not have intended to support it.
- setHostnameVerificationAlgorithm
PgConnectOptions setHostnameVerificationAlgorithm(string hostnameVerificationAlgorithm)
Undocumented in source. Be warned that the author may not have intended to support it.
- setIdleTimeout
PgConnectOptions setIdleTimeout(Duration idleTimeout)
Undocumented in source. Be warned that the author may not have intended to support it.
- setLocalAddress
PgConnectOptions setLocalAddress(string localAddress)
Undocumented in source. Be warned that the author may not have intended to support it.
- setLogActivity
PgConnectOptions setLogActivity(bool logEnabled)
Undocumented in source. Be warned that the author may not have intended to support it.
- setMetricsName
PgConnectOptions setMetricsName(string metricsName)
Undocumented in source. Be warned that the author may not have intended to support it.
- setOpenSslEngineOptions
PgConnectOptions setOpenSslEngineOptions(OpenSSLEngineOptions sslEngineOptions)
Undocumented in source. Be warned that the author may not have intended to support it.
- setPassword
PgConnectOptions setPassword(string password)
Undocumented in source. Be warned that the author may not have intended to support it.
- setPipeliningLimit
PgConnectOptions setPipeliningLimit(int pipeliningLimit)
Undocumented in source. Be warned that the author may not have intended to support it.
- setPort
PgConnectOptions setPort(int port)
Undocumented in source. Be warned that the author may not have intended to support it.
- setPreparedStatementCacheMaxSize
PgConnectOptions setPreparedStatementCacheMaxSize(int preparedStatementCacheMaxSize)
Undocumented in source. Be warned that the author may not have intended to support it.
- setPreparedStatementCacheSqlLimit
PgConnectOptions setPreparedStatementCacheSqlLimit(int preparedStatementCacheSqlLimit)
Undocumented in source. Be warned that the author may not have intended to support it.
- setProperties
PgConnectOptions setProperties(Map!(string, string) properties)
Undocumented in source. Be warned that the author may not have intended to support it.
- setProxyOptions
PgConnectOptions setProxyOptions(ProxyOptions proxyOptions)
Undocumented in source. Be warned that the author may not have intended to support it.
- setReceiveBufferSize
PgConnectOptions setReceiveBufferSize(int receiveBufferSize)
Undocumented in source. Be warned that the author may not have intended to support it.
- setReconnectAttempts
PgConnectOptions setReconnectAttempts(int attempts)
Undocumented in source. Be warned that the author may not have intended to support it.
- setReconnectInterval
PgConnectOptions setReconnectInterval(Duration interval)
Undocumented in source. Be warned that the author may not have intended to support it.
- setReuseAddress
PgConnectOptions setReuseAddress(bool reuseAddress)
Undocumented in source. Be warned that the author may not have intended to support it.
- setReusePort
PgConnectOptions setReusePort(bool reusePort)
Undocumented in source. Be warned that the author may not have intended to support it.
- setSendBufferSize
PgConnectOptions setSendBufferSize(int sendBufferSize)
Undocumented in source. Be warned that the author may not have intended to support it.
- setSoLinger
PgConnectOptions setSoLinger(int soLinger)
Undocumented in source. Be warned that the author may not have intended to support it.
- setSsl
PgConnectOptions setSsl(bool ssl)
Undocumented in source. Be warned that the author may not have intended to support it.
- setSslHandshakeTimeout
PgConnectOptions setSslHandshakeTimeout(Duration sslHandshakeTimeout)
Undocumented in source. Be warned that the author may not have intended to support it.
- setSslMode
PgConnectOptions setSslMode(SslMode sslmode)
Set {@link SslMode} for the client, this option can be used to provide different levels of secure protection.
- setTcpCork
PgConnectOptions setTcpCork(bool tcpCork)
Undocumented in source. Be warned that the author may not have intended to support it.
- setTcpFastOpen
PgConnectOptions setTcpFastOpen(bool tcpFastOpen)
Undocumented in source. Be warned that the author may not have intended to support it.
- setTcpKeepAlive
PgConnectOptions setTcpKeepAlive(bool tcpKeepAlive)
Undocumented in source. Be warned that the author may not have intended to support it.
- setTcpNoDelay
PgConnectOptions setTcpNoDelay(bool tcpNoDelay)
Undocumented in source. Be warned that the author may not have intended to support it.
- setTcpQuickAck
PgConnectOptions setTcpQuickAck(bool tcpQuickAck)
Undocumented in source. Be warned that the author may not have intended to support it.
- setTrafficClass
PgConnectOptions setTrafficClass(int trafficClass)
Undocumented in source. Be warned that the author may not have intended to support it.
- setUseAlpn
PgConnectOptions setUseAlpn(bool useAlpn)
Undocumented in source. Be warned that the author may not have intended to support it.
- setUser
PgConnectOptions setUser(string user)
Undocumented in source. Be warned that the author may not have intended to support it.
- toHash
size_t toHash()
Undocumented in source. Be warned that the author may not have intended to support it.
@author <a href="mailto:julien@julienviet.com">Julien Viet</a> @author Billy Yuan <billy112487983@gmail.com>