com.hazelcast.client.config
Class ClientNetworkConfig
java.lang.Object
com.hazelcast.client.config.ClientNetworkConfig
public class ClientNetworkConfig
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClientNetworkConfig
public ClientNetworkConfig()
isSmartRouting
public boolean isSmartRouting()
setSmartRouting
public ClientNetworkConfig setSmartRouting(boolean smartRouting)
getSocketInterceptorConfig
public SocketInterceptorConfig getSocketInterceptorConfig()
setSocketInterceptorConfig
public ClientNetworkConfig setSocketInterceptorConfig(SocketInterceptorConfig socketInterceptorConfig)
getConnectionAttemptPeriod
public int getConnectionAttemptPeriod()
setConnectionAttemptPeriod
public ClientNetworkConfig setConnectionAttemptPeriod(int connectionAttemptPeriod)
getConnectionAttemptLimit
public int getConnectionAttemptLimit()
setConnectionAttemptLimit
public ClientNetworkConfig setConnectionAttemptLimit(int connectionAttemptLimit)
getConnectionTimeout
public int getConnectionTimeout()
setConnectionTimeout
public ClientNetworkConfig setConnectionTimeout(int connectionTimeout)
addAddress
public ClientNetworkConfig addAddress(String... addresses)
setAddresses
public ClientNetworkConfig setAddresses(List<String> addresses)
getAddresses
public List<String> getAddresses()
isRedoOperation
public boolean isRedoOperation()
setRedoOperation
public ClientNetworkConfig setRedoOperation(boolean redoOperation)
getSocketOptions
public SocketOptions getSocketOptions()
setSocketOptions
public ClientNetworkConfig setSocketOptions(SocketOptions socketOptions)
getSSLConfig
public SSLConfig getSSLConfig()
- Returns the current
SSLConfig
. It is possible that null is returned if no SSLConfig has been
set.
- Returns:
- the SSLConfig.
- See Also:
setSSLConfig(SSLConfig)
setSSLConfig
public ClientNetworkConfig setSSLConfig(SSLConfig sslConfig)
- Sets the
SSLConfig
. null value indicates that no SSLConfig should be used.
- Parameters:
sslConfig
- the SSLConfig.
- Returns:
- the updated ClientNetworkConfig.
- See Also:
getSSLConfig()
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.