The thread model for the http server metrics depends on the actual context thats started the server.
io.vertx.core.spi.metrics.VertxMetrics createMetrics method that created and returned
this metrics object.
| Modifier and Type | Method and Description |
|---|---|
| public default W | |
| public default ClientMetrics | Returns: the endpoint metricthe endpoint remote address remoteAddress, int the server max pool size maxPoolSize)Provides metrics for a particular endpoint |
| public default void | |
| public default void | endpointConnected(ClientMetrics<R, T, ?, ?>
the endpoint metric endpointMetric)Called when a connection is made to a endpoint. |
| public default void | endpointDisconnected(ClientMetrics<R, T, ?, ?>
the endpoint metric endpointMetric)Called when a connection to an endpoint is closed. |
| connected | back to summary |
|---|---|
| public default W connected(WebSocket webSocket) Called when a web socket connects.
| |
| createEndpointMetrics | back to summary |
|---|---|
| public default ClientMetrics Provides metrics for a particular endpoint
| |
| disconnected | back to summary |
|---|---|
| public default void disconnected(W webSocketMetric) Called when the web socket has disconnected.
| |
| endpointConnected | back to summary |
|---|---|
| public default void endpointConnected(ClientMetrics<R, T, ?, ?> endpointMetric) Called when a connection is made to a endpoint.
| |
| endpointDisconnected | back to summary |
|---|---|
| public default void endpointDisconnected(ClientMetrics<R, T, ?, ?> endpointMetric) Called when a connection to an endpoint is closed.
| |