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 Future | connect(ChannelHandlerContext
the ctx, SocketAddress ChannelHandlerContext for which the connect operation is madethe remoteAddress, SocketAddress SocketAddress to which it should connectthe localAddress)SocketAddress which is used as source on connectOverrides default io. |
| recorder | back to summary |
|---|---|
| pack-priv final ChannelMetricsRecorder recorder | |
| ConnectMetricsHandler | back to summary |
|---|---|
| pack-priv ConnectMetricsHandler(ChannelMetricsRecorder recorder) | |
| connect | back to summary |
|---|---|
| public Future Overrides default io. Doc from io. Called once a connect operation is made.
| |
| Modifier and Type | Field and Description |
|---|---|
| protected final ChannelMetricsRecorder |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | channelActive(ChannelHandlerContext ctx)
Overrides default io. Channel of the ChannelHandlerContext is now active
|
| protected void |
| recorder | back to summary |
|---|---|
| protected final ChannelMetricsRecorder recorder | |
| TlsMetricsHandler | back to summary |
|---|---|
| pack-priv TlsMetricsHandler(ChannelMetricsRecorder recorder) | |
| channelActive | back to summary |
|---|---|
| public void channelActive(ChannelHandlerContext ctx) Overrides default io. Doc from io. The
| |
| recordTlsHandshakeTime | back to summary |
|---|---|
| protected void recordTlsHandshakeTime(ChannelHandlerContext ctx, long tlsHandshakeTimeStart, String status) | |