public class PingReplyMetric extends Metric implements PingReplyListener
| Constructor and Description |
|---|
PingReplyMetric(int count,
long interval) |
| Modifier and Type | Method and Description |
|---|---|
void |
await() |
void |
onPingReply(InetAddress address,
org.opennms.jicmp.standalone.PingReply reply) |
getAverage, getCount, getMaximum, getMinimum, getStandardDeviation, getSummary, getSumOfSquaresOfDifferences, updatepublic void onPingReply(InetAddress address, org.opennms.jicmp.standalone.PingReply reply)
onPingReply in interface PingReplyListenerpublic void await()
throws InterruptedException
InterruptedExceptionCopyright © 2020. All rights reserved.