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, recordTlsHandshakeTimeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitincrementErrorsCount, recordConnectTime, recordDataReceived, recordDataSent, recordResolveAddressTime, recordServerConnectionClosed, recordServerConnectionOpened, recordTlsHandshakeTimepublic 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)
HttpMetricsRecorderrecordDataReceived in interface HttpMetricsRecorderremoteAddress - The remote peeruri - the requested URIbytes - The amount of the data that is received, in bytespublic void recordDataSent(SocketAddress remoteAddress, String uri, long bytes)
HttpMetricsRecorderrecordDataSent in interface HttpMetricsRecorderremoteAddress - The remote peeruri - the requested URIbytes - The amount of the data that is sent, in bytespublic void incrementErrorsCount(SocketAddress remoteAddress, String uri)
HttpMetricsRecorderincrementErrorsCount in interface HttpMetricsRecorderremoteAddress - The remote peeruri - the requested URI