public class TcpIpAcceptor extends Object implements com.hazelcast.internal.metrics.MetricsProvider
TcpIpAcceptor
and TcpIpConnector
are 2 sides of the same coin. The TcpIpConnector
take care
of the 'client' side of a connection and the TcpIpAcceptor
is the 'server' side of a connection (each connection
has a client and server-sideConstructor and Description |
---|
TcpIpAcceptor(ServerSocketChannel serverSocketChannel,
TcpIpConnectionManager connectionManager) |
Modifier and Type | Method and Description |
---|---|
void |
provideMetrics(com.hazelcast.internal.metrics.MetricsRegistry registry) |
void |
shutdown() |
TcpIpAcceptor |
start() |
public TcpIpAcceptor(ServerSocketChannel serverSocketChannel, TcpIpConnectionManager connectionManager)
public void provideMetrics(com.hazelcast.internal.metrics.MetricsRegistry registry)
provideMetrics
in interface com.hazelcast.internal.metrics.MetricsProvider
public TcpIpAcceptor start()
public void shutdown()
Copyright © 2018 Hazelcast, Inc.. All rights reserved.