ChannelHandler for collecting metrics on protocol level.
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final ChannelMetricsRecorder |
| Access | Constructor and Description |
|---|---|
| pack-priv | ChannelMetricsHandler(ChannelMetricsRecorder recorder, SocketAddress remoteAddress, boolean onServer)
|
| Modifier and Type | Method and Description |
|---|---|
| public ChannelHandler | |
| public ChannelMetricsRecorder | |
| public ChannelHandler | tlsMetricsHandler()
Implements abstract reactor. |
| recorder | back to summary |
|---|---|
| pack-priv final ChannelMetricsRecorder recorder | |
| ChannelMetricsHandler | back to summary |
|---|---|
| pack-priv ChannelMetricsHandler(ChannelMetricsRecorder recorder, SocketAddress remoteAddress, boolean onServer) | |
| connectMetricsHandler | back to summary |
|---|---|
| public ChannelHandler connectMetricsHandler() Implements abstract reactor.
| |
| recorder | back to summary |
|---|---|
| public ChannelMetricsRecorder recorder() Implements abstract reactor.
| |
| tlsMetricsHandler | back to summary |
|---|---|
| public ChannelHandler tlsMetricsHandler() Implements abstract reactor.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final ChannelMetricsRecorder |
| 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.
|
| recorder | back to summary |
|---|---|
| pack-priv final ChannelMetricsRecorder recorder | |
| ConnectMetricsHandler | back to summary |
|---|---|
| pack-priv ConnectMetricsHandler(ChannelMetricsRecorder recorder) | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv boolean | |
| protected final ChannelMetricsRecorder |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public void | channelActive(ChannelHandlerContext ctx)
Overrides io. Implements io. ChannelHandlerContext#fireChannelActive() to forward
to the next ChannelInboundHandler in the ChannelPipeline.
|
| protected void | |
| public void | userEventTriggered(ChannelHandlerContext ctx, Object evt)
Overrides io. Implements io. ChannelHandlerContext#fireUserEventTriggered(Object) to forward
to the next ChannelInboundHandler in the ChannelPipeline.
|
| listenerAdded | back to summary |
|---|---|
| pack-priv boolean listenerAdded | |
| recorder | back to summary |
|---|---|
| protected final ChannelMetricsRecorder recorder | |
| TlsMetricsHandler | back to summary |
|---|---|
| pack-priv TlsMetricsHandler(ChannelMetricsRecorder recorder) | |
| addListener | back to summary |
|---|---|
| private void addListener(ChannelHandlerContext ctx) | |
| channelActive | back to summary |
|---|---|
| public void channelActive(ChannelHandlerContext ctx) Overrides io. Implements io. Doc from io. Calls
| |
| recordTlsHandshakeTime | back to summary |
|---|---|
| protected void recordTlsHandshakeTime(ChannelHandlerContext ctx, long tlsHandshakeTimeStart, String status) | |
| userEventTriggered | back to summary |
|---|---|
| public void userEventTriggered(ChannelHandlerContext ctx, Object evt) Overrides io. Implements io. Doc from io. Calls
| |