public interface HttpClientMetrics<R,W,S,T> extends TCPMetrics<S>
VertxMetrics
createMetrics
method that created and returned
this metrics object.
DISABLE_METRICS_PROPERTY_NAME, METRICS_ENABLED
Modifier and Type | Method and Description |
---|---|
default W |
connected(WebSocket webSocket)
Called when a web socket connects.
|
default ClientMetrics<R,T,HttpRequest,HttpResponse> |
createEndpointMetrics(SocketAddress remoteAddress,
int maxPoolSize)
Provides metrics for a particular endpoint
|
default void |
disconnected(W webSocketMetric)
Called when the web socket has disconnected.
|
default void |
endpointConnected(ClientMetrics<R,T,?,?> endpointMetric)
Called when a connection is made to a endpoint.
|
default void |
endpointDisconnected(ClientMetrics<R,T,?,?> endpointMetric)
Called when a connection to an endpoint is closed.
|
connected, disconnected
bytesRead, bytesWritten, exceptionOccurred
default ClientMetrics<R,T,HttpRequest,HttpResponse> createEndpointMetrics(SocketAddress remoteAddress, int maxPoolSize)
remoteAddress
- the endpoint remote addressmaxPoolSize
- the server max pool sizedefault void endpointConnected(ClientMetrics<R,T,?,?> endpointMetric)
endpointMetric
- the endpoint metricdefault void endpointDisconnected(ClientMetrics<R,T,?,?> endpointMetric)
endpointMetric
- the endpoint metricdefault W connected(WebSocket webSocket)
webSocket
- the server web socketdefault void disconnected(W webSocketMetric)
webSocketMetric
- the web socket metricCopyright © 2024 Eclipse. All rights reserved.