@PrivateApi public class NodeIOService extends Object implements IOService
Constructor and Description |
---|
NodeIOService(Node node,
NodeEngineImpl nodeEngine) |
public NodeIOService(Node node, NodeEngineImpl nodeEngine)
public String getHazelcastName()
getHazelcastName
in interface IOService
public LoggingService getLoggingService()
getLoggingService
in interface IOService
public Address getThisAddress()
getThisAddress
in interface IOService
public void onFatalError(Exception e)
onFatalError
in interface IOService
public SocketInterceptorConfig getSocketInterceptorConfig()
public SymmetricEncryptionConfig getSymmetricEncryptionConfig()
getSymmetricEncryptionConfig
in interface IOService
public SSLConfig getSSLConfig()
getSSLConfig
in interface IOService
public ClientEngine getClientEngine()
getClientEngine
in interface IOService
public TextCommandService getTextCommandService()
getTextCommandService
in interface IOService
public boolean isMemcacheEnabled()
isMemcacheEnabled
in interface IOService
public boolean isRestEnabled()
isRestEnabled
in interface IOService
public boolean isHealthcheckEnabled()
isHealthcheckEnabled
in interface IOService
public void removeEndpoint(Address endPoint)
removeEndpoint
in interface IOService
public void onDisconnect(Address endpoint, Throwable cause)
onDisconnect
in interface IOService
public void onSuccessfulConnection(Address address)
onSuccessfulConnection
in interface IOService
public void onFailedConnection(Address address)
onFailedConnection
in interface IOService
public void shouldConnectTo(Address address)
shouldConnectTo
in interface IOService
public boolean isSocketBind()
isSocketBind
in interface IOService
public boolean isSocketBindAny()
isSocketBindAny
in interface IOService
public int getSocketReceiveBufferSize()
getSocketReceiveBufferSize
in interface IOService
public int getSocketSendBufferSize()
getSocketSendBufferSize
in interface IOService
public boolean useDirectSocketBuffer()
useDirectSocketBuffer
in interface IOService
public int getSocketClientReceiveBufferSize()
IOService
getSocketClientReceiveBufferSize
in interface IOService
public int getSocketClientSendBufferSize()
IOService
getSocketClientSendBufferSize
in interface IOService
public void configureSocket(Socket socket) throws SocketException
configureSocket
in interface IOService
SocketException
public void interceptSocket(Socket socket, boolean onAccept) throws IOException
interceptSocket
in interface IOService
IOException
public boolean isSocketInterceptorEnabled()
isSocketInterceptorEnabled
in interface IOService
public int getSocketConnectTimeoutSeconds()
getSocketConnectTimeoutSeconds
in interface IOService
public int getInputSelectorThreadCount()
getInputSelectorThreadCount
in interface IOService
public int getOutputSelectorThreadCount()
getOutputSelectorThreadCount
in interface IOService
public long getConnectionMonitorInterval()
getConnectionMonitorInterval
in interface IOService
public int getConnectionMonitorMaxFaults()
getConnectionMonitorMaxFaults
in interface IOService
public int getBalancerIntervalSeconds()
getBalancerIntervalSeconds
in interface IOService
public void executeAsync(Runnable runnable)
executeAsync
in interface IOService
public EventService getEventService()
getEventService
in interface IOService
public InternalSerializationService getSerializationService()
getSerializationService
in interface IOService
public ChannelFactory getChannelFactory()
getChannelFactory
in interface IOService
public MemberSocketInterceptor getMemberSocketInterceptor()
getMemberSocketInterceptor
in interface IOService
public ChannelInboundHandler createInboundHandler(TcpIpConnection connection)
createInboundHandler
in interface IOService
public ChannelOutboundHandler createOutboundHandler(TcpIpConnection connection)
createOutboundHandler
in interface IOService
public Collection<Integer> getOutboundPorts()
getOutboundPorts
in interface IOService
Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.