Package net.bluemind.lib.vertx.metrics
Class SpectatorMetricsOptions.SpectatorTcpMetrics
java.lang.Object
net.bluemind.lib.vertx.metrics.SpectatorMetricsOptions.SpectatorTcpMetrics
- All Implemented Interfaces:
io.vertx.core.spi.metrics.Metrics
,io.vertx.core.spi.metrics.NetworkMetrics<Void>
,io.vertx.core.spi.metrics.TCPMetrics<Void>
- Enclosing class:
SpectatorMetricsOptions
-
Field Summary
Fields inherited from interface io.vertx.core.spi.metrics.Metrics
DISABLE_METRICS_PROPERTY_NAME, METRICS_ENABLED
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
bytesWritten
(Void socketMetric, io.vertx.core.net.SocketAddress remoteAddress, long numberOfBytes) void
disconnected
(Void socketMetric, io.vertx.core.net.SocketAddress remoteAddress) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.vertx.core.spi.metrics.Metrics
close
Methods inherited from interface io.vertx.core.spi.metrics.NetworkMetrics
exceptionOccurred
-
Constructor Details
-
SpectatorTcpMetrics
-
-
Method Details
-
connected
- Specified by:
connected
in interfaceio.vertx.core.spi.metrics.TCPMetrics<Void>
-
disconnected
- Specified by:
disconnected
in interfaceio.vertx.core.spi.metrics.TCPMetrics<Void>
-
bytesRead
public void bytesRead(Void socketMetric, io.vertx.core.net.SocketAddress remoteAddress, long numberOfBytes) - Specified by:
bytesRead
in interfaceio.vertx.core.spi.metrics.NetworkMetrics<Void>
-
bytesWritten
public void bytesWritten(Void socketMetric, io.vertx.core.net.SocketAddress remoteAddress, long numberOfBytes) - Specified by:
bytesWritten
in interfaceio.vertx.core.spi.metrics.NetworkMetrics<Void>
-