public interface HttpMetricsRecorder extends ChannelMetricsRecorder
| Modifier and Type | Method and Description |
|---|---|
void |
incrementErrorsCount(java.net.SocketAddress remoteAddress,
java.lang.String uri)
Increments the number of the errors that are occurred
|
void |
recordDataReceived(java.net.SocketAddress remoteAddress,
java.lang.String uri,
long bytes)
Records the amount of the data that is received, in bytes
|
void |
recordDataSent(java.net.SocketAddress remoteAddress,
java.lang.String uri,
long bytes)
Records the amount of the data that is sent, in bytes
|
incrementErrorsCount, recordConnectTime, recordDataReceived, recordDataSent, recordResolveAddressTime, recordTlsHandshakeTimevoid recordDataReceived(java.net.SocketAddress remoteAddress,
java.lang.String uri,
long bytes)
remoteAddress - The remote peeruri - the requested URIbytes - The amount of the data that is received, in bytesvoid recordDataSent(java.net.SocketAddress remoteAddress,
java.lang.String uri,
long bytes)
remoteAddress - The remote peeruri - the requested URIbytes - The amount of the data that is sent, in bytesvoid incrementErrorsCount(java.net.SocketAddress remoteAddress,
java.lang.String uri)
remoteAddress - The remote peeruri - the requested URI