com.hazelcast.client.config
Class ClientNetworkConfig

java.lang.Object
  extended by com.hazelcast.client.config.ClientNetworkConfig

public class ClientNetworkConfig
extends Object


Constructor Summary
ClientNetworkConfig()
           
 
Method Summary
 ClientNetworkConfig addAddress(String... addresses)
           
 List<String> getAddresses()
           
 int getConnectionAttemptLimit()
           
 int getConnectionAttemptPeriod()
           
 int getConnectionTimeout()
           
 SocketInterceptorConfig getSocketInterceptorConfig()
           
 SocketOptions getSocketOptions()
           
 SSLConfig getSSLConfig()
          Returns the current SSLConfig.
 boolean isRedoOperation()
           
 boolean isSmartRouting()
           
 ClientNetworkConfig setAddresses(List<String> addresses)
           
 ClientNetworkConfig setConnectionAttemptLimit(int connectionAttemptLimit)
           
 ClientNetworkConfig setConnectionAttemptPeriod(int connectionAttemptPeriod)
           
 ClientNetworkConfig setConnectionTimeout(int connectionTimeout)
           
 ClientNetworkConfig setRedoOperation(boolean redoOperation)
           
 ClientNetworkConfig setSmartRouting(boolean smartRouting)
           
 ClientNetworkConfig setSocketInterceptorConfig(SocketInterceptorConfig socketInterceptorConfig)
           
 ClientNetworkConfig setSocketOptions(SocketOptions socketOptions)
           
 ClientNetworkConfig setSSLConfig(SSLConfig sslConfig)
          Sets the SSLConfig.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientNetworkConfig

public ClientNetworkConfig()
Method Detail

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.