public final class ClientConfiguration extends Object implements Serializable
TcpIgniteClient
configuration.Constructor and Description |
---|
ClientConfiguration() |
public String[] getAddresses()
public ClientConfiguration setAddresses(String... addrs)
addrs
- Host addresses.public boolean isTcpNoDelay()
public ClientConfiguration setTcpNoDelay(boolean tcpNoDelay)
tcpNoDelay
- whether Nagle's algorithm is enabled.public int getTimeout()
public ClientConfiguration setTimeout(int timeout)
timeout
- Send/receive timeout in milliseconds.public int getSendBufferSize()
public ClientConfiguration setSendBufferSize(int sndBufSize)
sndBufSize
- Send buffer size.public int getReceiveBufferSize()
public ClientConfiguration setReceiveBufferSize(int rcvBufSize)
rcvBufSize
- Send buffer size.public BinaryConfiguration getBinaryConfiguration()
public ClientConfiguration setBinaryConfiguration(BinaryConfiguration binaryCfg)
binaryCfg
- Configuration for Ignite Binary objects.public org.apache.ignite.client.SslMode getSslMode()
public ClientConfiguration setSslMode(org.apache.ignite.client.SslMode sslMode)
sslMode
- SSL mode.public String getSslClientCertificateKeyStorePath()
public ClientConfiguration setSslClientCertificateKeyStorePath(String newVal)
newVal
- Ssl client certificate key store path.public String getSslClientCertificateKeyStorePassword()
public ClientConfiguration setSslClientCertificateKeyStorePassword(String newVal)
newVal
- Ssl client certificate key store password.public String getSslClientCertificateKeyStoreType()
public ClientConfiguration setSslClientCertificateKeyStoreType(String newVal)
newVal
- Ssl client certificate key store type.public String getSslTrustCertificateKeyStorePath()
public ClientConfiguration setSslTrustCertificateKeyStorePath(String newVal)
newVal
- Ssl trust certificate key store path.public String getSslTrustCertificateKeyStorePassword()
public ClientConfiguration setSslTrustCertificateKeyStorePassword(String newVal)
newVal
- Ssl trust certificate key store password.public String getSslTrustCertificateKeyStoreType()
public ClientConfiguration setSslTrustCertificateKeyStoreType(String newVal)
newVal
- Ssl trust certificate key store type.public String getSslKeyAlgorithm()
public ClientConfiguration setSslKeyAlgorithm(String newVal)
newVal
- Ssl key algorithm.public boolean isSslTrustAll()
public ClientConfiguration setSslTrustAll(boolean newVal)
newVal
- Flag indicating if certificate validation errors should be ignored.public org.apache.ignite.client.SslProtocol getSslProtocol()
public ClientConfiguration setSslProtocol(org.apache.ignite.client.SslProtocol newVal)
newVal
- Ssl protocol.public String getUserName()
public ClientConfiguration setUserName(String newVal)
newVal
- User name.public String getUserPassword()
public ClientConfiguration setUserPassword(String newVal)
newVal
- User password.public javax.cache.configuration.Factory<SSLContext> getSslContextFactory()
public ClientConfiguration setSslContextFactory(javax.cache.configuration.Factory<SSLContext> newVal)
newVal
- SSL Context Factory.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.2 Release Date : February 6 2019