ContextView aware class for recording metrics on protocol level.
| 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/Flux pipelineThe remote peer remoteAddress)Increments the number of the errors that are occurred. |
| public void | incrementErrorsCount(SocketAddress
The remote peer remoteAddress)Implements reactor. |
| public abstract void | recordConnectTime(ContextView
The current contextView, SocketAddress ContextView associated with the Mono/Flux pipelineThe remote peer remoteAddress, Duration The time in nanoseconds that is spent for connecting to the remote address time, String The status of the operation status)Records the time that is spent for connecting to the remote address. |
| public void | recordConnectTime(SocketAddress
The remote peer remoteAddress, Duration the time in nanoseconds that is spent for connecting to the remote address time, String the status of the operation status)Implements reactor. |
| public abstract void | recordDataReceived(ContextView
The current contextView, SocketAddress ContextView associated with the Mono/Flux pipelineThe remote peer remoteAddress, 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, 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/Flux pipelineThe remote peer remoteAddress, 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, long The amount of the data that is sent, in bytes bytes)Implements reactor. |
| public abstract void | recordTlsHandshakeTime(ContextView
The current contextView, SocketAddress ContextView associated with the Mono/Flux pipelineThe remote peer remoteAddress, Duration The time in nanoseconds that is spent for TLS handshake time, String The status of the operation status)Records the time that is spent for TLS handshake. |
| public void | recordTlsHandshakeTime(SocketAddress
The remote peer remoteAddress, Duration the time in nanoseconds that is spent for TLS handshake time, String the status of the operation status)Implements reactor. |
| ContextAwareChannelMetricsRecorder | back to summary |
|---|---|
| public ContextAwareChannelMetricsRecorder() | |
| incrementErrorsCount | back to summary |
|---|---|
| public abstract void incrementErrorsCount(ContextView contextView, SocketAddress remoteAddress) Increments the number of the errors that are occurred.
| |
| incrementErrorsCount | back to summary |
|---|---|
| public void incrementErrorsCount(SocketAddress remoteAddress) Implements reactor. Doc from reactor. Increments the number of the errors that are occurred.
| |
| recordConnectTime | back to summary |
|---|---|
| public abstract void recordConnectTime(ContextView contextView, SocketAddress remoteAddress, Duration time, String status) Records the time that is spent for connecting to the remote address. Relevant only when on the client.
| |
| recordConnectTime | back to summary |
|---|---|
| public void recordConnectTime(SocketAddress remoteAddress, Duration time, String status) Implements reactor. Doc from reactor. Records the time that is spent for connecting to the remote address. Relevant only when on the client
| |
| recordDataReceived | back to summary |
|---|---|
| public abstract void recordDataReceived(ContextView contextView, SocketAddress remoteAddress, long bytes) Records the amount of the data that is received, in bytes.
| |
| recordDataReceived | back to summary |
|---|---|
| public void recordDataReceived(SocketAddress remoteAddress, 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, long bytes) Records the amount of the data that is sent, in bytes.
| |
| recordDataSent | back to summary |
|---|---|
| public void recordDataSent(SocketAddress remoteAddress, long bytes) Implements reactor. Doc from reactor. Records the amount of the data that is sent, in bytes.
| |
| recordTlsHandshakeTime | back to summary |
|---|---|
| public abstract void recordTlsHandshakeTime(ContextView contextView, SocketAddress remoteAddress, Duration time, String status) Records the time that is spent for TLS handshake.
| |
| recordTlsHandshakeTime | back to summary |
|---|---|
| public void recordTlsHandshakeTime(SocketAddress remoteAddress, Duration time, String status) Implements reactor. Doc from reactor. Records the time that is spent for TLS handshake.
| |