public class EndpointConfig extends Object implements NamedConfig
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_SOCKET_CONNECT_TIMEOUT_SECONDS
|
static int |
DEFAULT_SOCKET_LINGER_SECONDS
|
static int |
DEFAULT_SOCKET_RECEIVE_BUFFER_SIZE_KB
|
static int |
DEFAULT_SOCKET_SEND_BUFFER_SIZE_KB
|
protected InterfacesConfig |
interfaces |
protected String |
name |
protected com.hazelcast.instance.ProtocolType |
protocolType |
protected SocketInterceptorConfig |
socketInterceptorConfig |
protected SSLConfig |
sslConfig |
protected SymmetricEncryptionConfig |
symmetricEncryptionConfig |
Constructor and Description |
---|
EndpointConfig() |
public static final int DEFAULT_SOCKET_CONNECT_TIMEOUT_SECONDS
public static final int DEFAULT_SOCKET_SEND_BUFFER_SIZE_KB
public static final int DEFAULT_SOCKET_RECEIVE_BUFFER_SIZE_KB
public static final int DEFAULT_SOCKET_LINGER_SECONDS
protected String name
protected com.hazelcast.instance.ProtocolType protocolType
protected InterfacesConfig interfaces
protected SocketInterceptorConfig socketInterceptorConfig
protected SSLConfig sslConfig
protected SymmetricEncryptionConfig symmetricEncryptionConfig
public com.hazelcast.instance.ProtocolType getProtocolType()
public String getName()
getName
in interface NamedConfig
public EndpointConfig setName(String name)
setName
in interface NamedConfig
@Deprecated public SymmetricEncryptionConfig getSymmetricEncryptionConfig()
SymmetricEncryptionConfig
. The value can be null
which means that no symmetric encryption should
be used.@Deprecated public EndpointConfig setSymmetricEncryptionConfig(SymmetricEncryptionConfig symmetricEncryptionConfig)
SymmetricEncryptionConfig
. The value can be null
if no symmetric encryption should be used.symmetricEncryptionConfig
- the SymmetricEncryptionConfig to setgetSymmetricEncryptionConfig()
public com.hazelcast.instance.EndpointQualifier getQualifier()
public Collection<String> getOutboundPortDefinitions()
public EndpointConfig setOutboundPortDefinitions(Collection<String> outboundPortDefs)
public EndpointConfig addOutboundPortDefinition(String portDef)
public Collection<Integer> getOutboundPorts()
public EndpointConfig setOutboundPorts(Collection<Integer> outboundPorts)
public EndpointConfig addOutboundPort(int port)
public InterfacesConfig getInterfaces()
public EndpointConfig setInterfaces(InterfacesConfig interfaces)
interfaces
- the interfaces to setpublic boolean isSocketBufferDirect()
public EndpointConfig setSocketBufferDirect(boolean socketBufferDirect)
public boolean isSocketTcpNoDelay()
public boolean isSocketKeepAlive()
public EndpointConfig setSocketKeepAlive(boolean socketKeepAlive)
public EndpointConfig setSocketTcpNoDelay(boolean socketTcpNoDelay)
public int getSocketSendBufferSizeKb()
public EndpointConfig setSocketSendBufferSizeKb(int socketSendBufferSizeKb)
public int getSocketRcvBufferSizeKb()
public EndpointConfig setSocketRcvBufferSizeKb(int socketRcvBufferSizeKb)
public int getSocketLingerSeconds()
public EndpointConfig setSocketLingerSeconds(int socketLingerSeconds)
public int getSocketConnectTimeoutSeconds()
public EndpointConfig setSocketConnectTimeoutSeconds(int socketConnectTimeoutSeconds)
public SocketInterceptorConfig getSocketInterceptorConfig()
SocketInterceptorConfig
. The value can be null
if no socket interception is needed.setSocketInterceptorConfig(SocketInterceptorConfig)
public EndpointConfig setSocketInterceptorConfig(SocketInterceptorConfig socketInterceptorConfig)
SocketInterceptorConfig
. The value can be null
if no socket interception is needed.socketInterceptorConfig
- the SocketInterceptorConfig to setpublic SSLConfig getSSLConfig()
SSLConfig
. It is possible that null is returned if no SSLConfig has been set.setSSLConfig(SSLConfig)
public EndpointConfig setSSLConfig(SSLConfig sslConfig)
SSLConfig
. null value indicates that no SSLConfig should be used.sslConfig
- the SSLConfiggetSSLConfig()
@PrivateApi public EndpointConfig setProtocolType(com.hazelcast.instance.ProtocolType protocolType)
Copyright © 2024 Hazelcast, Inc.. All rights reserved.