public static class AsyncUdpSocketImpl.JmxInspector extends Object implements AsyncUdpSocketImpl.Inspector
| Constructor and Description |
|---|
JmxInspector(Duration smoothingWindow) |
| Modifier and Type | Method and Description |
|---|---|
EventStats |
getReceiveErrors() |
ValueStats |
getReceives() |
EventStats |
getSendErrors() |
ValueStats |
getSends() |
void |
onReceive(UdpPacket packet) |
void |
onReceiveError(IOException e) |
void |
onSend(UdpPacket packet) |
void |
onSendError(IOException e) |
public JmxInspector(Duration smoothingWindow)
public void onReceive(UdpPacket packet)
onReceive in interface AsyncUdpSocketImpl.Inspectorpublic void onReceiveError(IOException e)
onReceiveError in interface AsyncUdpSocketImpl.Inspectorpublic void onSend(UdpPacket packet)
onSend in interface AsyncUdpSocketImpl.Inspectorpublic void onSendError(IOException e)
onSendError in interface AsyncUdpSocketImpl.Inspectorpublic ValueStats getReceives()
public EventStats getReceiveErrors()
public ValueStats getSends()
public EventStats getSendErrors()
Copyright © 2019. All rights reserved.