com.hazelcast.config
Class NetworkConfig
java.lang.Object
com.hazelcast.config.NetworkConfig
- All Implemented Interfaces:
- DataSerializable, Serializable
public class NetworkConfig
- extends Object
- implements DataSerializable
- See Also:
- Serialized Form
DEFAULT_PORT
public static final int DEFAULT_PORT
- See Also:
- Constant Field Values
NetworkConfig
public NetworkConfig()
getPort
public int getPort()
- Returns:
- the port
setPort
public NetworkConfig setPort(int port)
- Parameters:
port
- the port to set
isPortAutoIncrement
public boolean isPortAutoIncrement()
- Returns:
- the portAutoIncrement
setPortAutoIncrement
public NetworkConfig setPortAutoIncrement(boolean portAutoIncrement)
- Parameters:
portAutoIncrement
- the portAutoIncrement to set
isReuseAddress
public boolean isReuseAddress()
setReuseAddress
public NetworkConfig setReuseAddress(boolean reuseAddress)
getInterfaces
public Interfaces getInterfaces()
- Returns:
- the interfaces
setInterfaces
public NetworkConfig setInterfaces(Interfaces interfaces)
- Parameters:
interfaces
- the interfaces to set
getJoin
public Join getJoin()
- Returns:
- the join
setJoin
public NetworkConfig setJoin(Join join)
- Parameters:
join
- the join to set
getPublicAddress
public String getPublicAddress()
setPublicAddress
public void setPublicAddress(String publicAddress)
setSocketInterceptorConfig
public NetworkConfig setSocketInterceptorConfig(SocketInterceptorConfig socketInterceptorConfig)
getSocketInterceptorConfig
public SocketInterceptorConfig getSocketInterceptorConfig()
getSymmetricEncryptionConfig
public SymmetricEncryptionConfig getSymmetricEncryptionConfig()
setSymmetricEncryptionConfig
public NetworkConfig setSymmetricEncryptionConfig(SymmetricEncryptionConfig symmetricEncryptionConfig)
getAsymmetricEncryptionConfig
public AsymmetricEncryptionConfig getAsymmetricEncryptionConfig()
setAsymmetricEncryptionConfig
public NetworkConfig setAsymmetricEncryptionConfig(AsymmetricEncryptionConfig asymmetricEncryptionConfig)
getSSLConfig
public SSLConfig getSSLConfig()
setSSLConfig
public NetworkConfig setSSLConfig(SSLConfig sslConfig)
writeData
public void writeData(DataOutput out)
throws IOException
- Specified by:
writeData
in interface DataSerializable
- Throws:
IOException
readData
public void readData(DataInput in)
throws IOException
- Specified by:
readData
in interface DataSerializable
- Throws:
IOException
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2008-2012 Hazel Ltd. All Rights Reserved.