AbstractChannelMetricsHandler that propagates ContextView.
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final ContextAwareChannelMetricsRecorder |
| Access | Constructor and Description |
|---|---|
| pack-priv | ContextAwareChannelMetricsHandler(ContextAwareChannelMetricsRecorder recorder, SocketAddress remoteAddress, boolean onServer)
|
| Modifier and Type | Method and Description |
|---|---|
| public ChannelHandler | |
| public ContextAwareChannelMetricsRecorder | |
| protected void | |
| protected void | recordRead(ChannelHandlerContext ctx, SocketAddress address, long bytes)
Overrides reactor. |
| protected void | recordWrite(ChannelHandlerContext ctx, SocketAddress address, long bytes)
Overrides reactor. |
| public ChannelHandler | tlsMetricsHandler()
Implements abstract reactor. |
| recorder | back to summary |
|---|---|
| pack-priv final ContextAwareChannelMetricsRecorder recorder | |
| ContextAwareChannelMetricsHandler | back to summary |
|---|---|
| pack-priv ContextAwareChannelMetricsHandler(ContextAwareChannelMetricsRecorder recorder, SocketAddress remoteAddress, boolean onServer) | |
| connectMetricsHandler | back to summary |
|---|---|
| public ChannelHandler connectMetricsHandler() Implements abstract reactor.
| |
| recorder | back to summary |
|---|---|
| public ContextAwareChannelMetricsRecorder recorder() Implements abstract reactor.
| |
| recordException | back to summary |
|---|---|
| protected void recordException(ChannelHandlerContext ctx, SocketAddress address) Overrides reactor.
| |
| recordRead | back to summary |
|---|---|
| protected void recordRead(ChannelHandlerContext ctx, SocketAddress address, long bytes) Overrides reactor.
| |
| recordWrite | back to summary |
|---|---|
| protected void recordWrite(ChannelHandlerContext ctx, SocketAddress address, long bytes) Overrides reactor.
| |
| tlsMetricsHandler | back to summary |
|---|---|
| public ChannelHandler tlsMetricsHandler() Implements abstract reactor.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final ContextAwareChannelMetricsRecorder |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | connect(ChannelHandlerContext
the ctx, SocketAddress ChannelHandlerContext for which the connect operation is madethe remoteAddress, SocketAddress SocketAddress to which it should connectthe localAddress, ChannelPromise SocketAddress which is used as source on connectthe promise)ChannelPromise to notify once the operation completesOverrides io. Implements io. ChannelHandlerContext#connect(SocketAddress, SocketAddress, ChannelPromise) to forward
to the next ChannelOutboundHandler in the ChannelPipeline.
|
| pack-priv void | recordConnectTime(ChannelHandlerContext ctx, SocketAddress address, long connectTimeStart, String status)
|
| recorder | back to summary |
|---|---|
| pack-priv final ContextAwareChannelMetricsRecorder recorder | |
| ContextAwareConnectMetricsHandler | back to summary |
|---|---|
| pack-priv ContextAwareConnectMetricsHandler(ContextAwareChannelMetricsRecorder recorder) | |
| recordConnectTime | back to summary |
|---|---|
| pack-priv void recordConnectTime(ChannelHandlerContext ctx, SocketAddress address, long connectTimeStart, String status) | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected void | recordTlsHandshakeTime(ChannelHandlerContext ctx, long tlsHandshakeTimeStart, String status)
Overrides reactor. |
| TlsMetricsHandler | back to summary |
|---|---|
| pack-priv TlsMetricsHandler(ContextAwareChannelMetricsRecorder recorder) | |
| recordTlsHandshakeTime | back to summary |
|---|---|
| protected void recordTlsHandshakeTime(ChannelHandlerContext ctx, long tlsHandshakeTimeStart, String status) Overrides reactor.
| |