public class DefaultTcpServerMetrics extends Object implements io.vertx.core.spi.metrics.TCPMetrics<DefaultTcpSocketMetric>
| Constructor and Description |
|---|
DefaultTcpServerMetrics(DefaultServerEndpointMetric endpointMetric) |
| Modifier and Type | Method and Description |
|---|---|
void |
bytesRead(DefaultTcpSocketMetric socketMetric,
io.vertx.core.net.SocketAddress remoteAddress,
long numberOfBytes) |
void |
bytesWritten(DefaultTcpSocketMetric socketMetric,
io.vertx.core.net.SocketAddress remoteAddress,
long numberOfBytes) |
DefaultTcpSocketMetric |
connected(io.vertx.core.net.SocketAddress remoteAddress,
String remoteName) |
void |
disconnected(DefaultTcpSocketMetric socketMetric,
io.vertx.core.net.SocketAddress remoteAddress) |
DefaultServerEndpointMetric |
getEndpointMetric() |
public DefaultTcpServerMetrics(DefaultServerEndpointMetric endpointMetric)
public DefaultServerEndpointMetric getEndpointMetric()
public DefaultTcpSocketMetric connected(io.vertx.core.net.SocketAddress remoteAddress, String remoteName)
connected in interface io.vertx.core.spi.metrics.TCPMetrics<DefaultTcpSocketMetric>public void disconnected(DefaultTcpSocketMetric socketMetric, io.vertx.core.net.SocketAddress remoteAddress)
disconnected in interface io.vertx.core.spi.metrics.TCPMetrics<DefaultTcpSocketMetric>public void bytesRead(DefaultTcpSocketMetric socketMetric, io.vertx.core.net.SocketAddress remoteAddress, long numberOfBytes)
bytesRead in interface io.vertx.core.spi.metrics.NetworkMetrics<DefaultTcpSocketMetric>public void bytesWritten(DefaultTcpSocketMetric socketMetric, io.vertx.core.net.SocketAddress remoteAddress, long numberOfBytes)
bytesWritten in interface io.vertx.core.spi.metrics.NetworkMetrics<DefaultTcpSocketMetric>Copyright © 2017–2021 The Apache Software Foundation. All rights reserved.