ContextView aware class for recording metrics for HTTP protocol.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public abstract void | incrementErrorsCount(ContextView
The current contextView, SocketAddress ContextView associated with the Mono/FluxThe remote peer remoteAddress, String The requested URI uri)Increments the number of the errors that are occurred. |
| public void | incrementErrorsCount(SocketAddress
The remote peer remoteAddress, String the requested URI uri)Implements reactor. |
| public abstract void | recordDataReceived(ContextView
The current contextView, SocketAddress ContextView associated with the Mono/FluxThe remote peer remoteAddress, String The requested URI uri, long The amount of the data that is received, in bytes bytes)Records the amount of the data that is received, in bytes. |
| public void | recordDataReceived(SocketAddress
The remote peer remoteAddress, String the requested URI uri, long The amount of the data that is received, in bytes bytes)Implements reactor. |
| public abstract void | recordDataSent(ContextView
The current contextView, SocketAddress ContextView associated with the Mono/FluxThe remote peer remoteAddress, String The requested URI uri, long The amount of the data that is sent, in bytes bytes)Records the amount of the data that is sent, in bytes. |
| public void | recordDataSent(SocketAddress
The remote peer remoteAddress, String the requested URI uri, long The amount of the data that is sent, in bytes bytes)Implements reactor. |
| ContextAwareHttpMetricsRecorder | back to summary |
|---|---|
| public ContextAwareHttpMetricsRecorder() | |
| incrementErrorsCount | back to summary |
|---|---|
| public abstract void incrementErrorsCount(ContextView contextView, SocketAddress remoteAddress, String uri) Increments the number of the errors that are occurred.
| |
| incrementErrorsCount | back to summary |
|---|---|
| public void incrementErrorsCount(SocketAddress remoteAddress, String uri) Implements reactor. Doc from reactor. Increments the number of the errors that are occurred.
| |
| recordDataReceived | back to summary |
|---|---|
| public abstract void recordDataReceived(ContextView contextView, SocketAddress remoteAddress, String uri, long bytes) Records the amount of the data that is received, in bytes.
| |
| recordDataReceived | back to summary |
|---|---|
| public void recordDataReceived(SocketAddress remoteAddress, String uri, long bytes) Implements reactor. Doc from reactor. Records the amount of the data that is received, in bytes.
| |
| recordDataSent | back to summary |
|---|---|
| public abstract void recordDataSent(ContextView contextView, SocketAddress remoteAddress, String uri, long bytes) Records the amount of the data that is sent, in bytes.
| |
| recordDataSent | back to summary |
|---|---|
| public void recordDataSent(SocketAddress remoteAddress, String uri, long bytes) Implements reactor. Doc from reactor. Records the amount of the data that is sent, in bytes.
| |