public class TcpIpAcceptor extends Object implements 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(MetricsRegistry registry) |
void |
shutdown() |
TcpIpAcceptor |
start() |
public TcpIpAcceptor(ServerSocketChannel serverSocketChannel, TcpIpConnectionManager connectionManager)
public void provideMetrics(MetricsRegistry registry)
provideMetrics
in interface MetricsProvider
public TcpIpAcceptor start()
public void shutdown()
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.