public abstract class ContextAwareHttpMetricsRecorder extends ContextAwareChannelMetricsRecorder implements HttpMetricsRecorder
ContextView
aware class for recording metrics for HTTP protocol.Constructor and Description |
---|
ContextAwareHttpMetricsRecorder() |
Modifier and Type | Method and Description |
---|---|
abstract void |
incrementErrorsCount(ContextView contextView,
SocketAddress remoteAddress,
String uri)
Increments the number of the errors that are occurred.
|
void |
incrementErrorsCount(SocketAddress remoteAddress,
String uri)
Increments the number of the errors that are occurred.
|
abstract void |
recordDataReceived(ContextView contextView,
SocketAddress remoteAddress,
String uri,
long bytes)
Records the amount of the data that is received, in bytes.
|
void |
recordDataReceived(SocketAddress remoteAddress,
String uri,
long bytes)
Records the amount of the data that is received, in bytes.
|
abstract void |
recordDataSent(ContextView contextView,
SocketAddress remoteAddress,
String uri,
long bytes)
Records the amount of the data that is sent, in bytes.
|
void |
recordDataSent(SocketAddress remoteAddress,
String uri,
long bytes)
Records the amount of the data that is sent, in bytes.
|
incrementErrorsCount, incrementErrorsCount, recordConnectTime, recordConnectTime, recordDataReceived, recordDataReceived, recordDataSent, recordDataSent, recordTlsHandshakeTime, recordTlsHandshakeTime
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
incrementErrorsCount, recordConnectTime, recordDataReceived, recordDataSent, recordResolveAddressTime, recordServerConnectionClosed, recordServerConnectionOpened, recordTlsHandshakeTime
public abstract void incrementErrorsCount(ContextView contextView, SocketAddress remoteAddress, String uri)
contextView
- The current ContextView
associated with the Mono/FluxremoteAddress
- The remote peeruri
- The requested URIpublic abstract void recordDataReceived(ContextView contextView, SocketAddress remoteAddress, String uri, long bytes)
contextView
- The current ContextView
associated with the Mono/FluxremoteAddress
- The remote peeruri
- The requested URIbytes
- The amount of the data that is received, in bytespublic abstract void recordDataSent(ContextView contextView, SocketAddress remoteAddress, String uri, long bytes)
contextView
- The current ContextView
associated with the Mono/FluxremoteAddress
- The remote peeruri
- The requested URIbytes
- The amount of the data that is sent, in bytespublic void recordDataReceived(SocketAddress remoteAddress, String uri, long bytes)
HttpMetricsRecorder
recordDataReceived
in interface HttpMetricsRecorder
remoteAddress
- The remote peeruri
- the requested URIbytes
- The amount of the data that is received, in bytespublic void recordDataSent(SocketAddress remoteAddress, String uri, long bytes)
HttpMetricsRecorder
recordDataSent
in interface HttpMetricsRecorder
remoteAddress
- The remote peeruri
- the requested URIbytes
- The amount of the data that is sent, in bytespublic void incrementErrorsCount(SocketAddress remoteAddress, String uri)
HttpMetricsRecorder
incrementErrorsCount
in interface HttpMetricsRecorder
remoteAddress
- The remote peeruri
- the requested URI