public static class AsyncTcpSocketImpl.JmxInspector extends Object implements AsyncTcpSocketImpl.Inspector
| Modifier and Type | Field and Description |
|---|---|
static Duration |
SMOOTHING_WINDOW |
| Constructor and Description |
|---|
JmxInspector() |
| Modifier and Type | Method and Description |
|---|---|
EventStats |
getReadEndOfStreams() |
EventStats |
getReadErrors() |
ValueStats |
getReads() |
EventStats |
getReadTimeouts() |
EventStats |
getWriteErrors() |
EventStats |
getWriteOverloaded() |
ValueStats |
getWrites() |
EventStats |
getWriteTimeouts() |
void |
onRead(ByteBuf buf) |
void |
onReadEndOfStream() |
void |
onReadError(IOException e) |
void |
onReadTimeout() |
void |
onWrite(ByteBuf buf,
int bytes) |
void |
onWriteError(IOException e) |
void |
onWriteTimeout() |
public static final Duration SMOOTHING_WINDOW
public void onReadTimeout()
onReadTimeout in interface AsyncTcpSocketImpl.Inspectorpublic void onRead(ByteBuf buf)
onRead in interface AsyncTcpSocketImpl.Inspectorpublic void onReadEndOfStream()
onReadEndOfStream in interface AsyncTcpSocketImpl.Inspectorpublic void onReadError(IOException e)
onReadError in interface AsyncTcpSocketImpl.Inspectorpublic void onWriteTimeout()
onWriteTimeout in interface AsyncTcpSocketImpl.Inspectorpublic void onWrite(ByteBuf buf, int bytes)
onWrite in interface AsyncTcpSocketImpl.Inspectorpublic void onWriteError(IOException e)
onWriteError in interface AsyncTcpSocketImpl.Inspectorpublic EventStats getReadTimeouts()
public ValueStats getReads()
public EventStats getReadEndOfStreams()
public EventStats getReadErrors()
public EventStats getWriteTimeouts()
public ValueStats getWrites()
public EventStats getWriteErrors()
public EventStats getWriteOverloaded()
Copyright © 2019. All rights reserved.