public class TcpIpAcceptor extends Object implements DynamicMetricsProvider
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-sideModifier and Type | Method and Description |
---|---|
void |
provideDynamicMetrics(MetricTaggerSupplier taggerSupplier,
MetricsExtractor extractor)
Metrics collection callback that is called in every metric collection
cycle.
|
void |
shutdown() |
TcpIpAcceptor |
start() |
public TcpIpAcceptor start()
public void shutdown()
public void provideDynamicMetrics(MetricTaggerSupplier taggerSupplier, MetricsExtractor extractor)
DynamicMetricsProvider
MetricsExtractor
passed in argument.provideDynamicMetrics
in interface DynamicMetricsProvider
extractor
- The consumer of the collected metricsCopyright © 2019 Hazelcast, Inc.. All rights reserved.