public class EzySimpleNetworkStats extends Object implements EzyNetworkStats, Serializable
| Modifier and Type | Field and Description |
|---|---|
protected long |
droppedInBytes |
protected long |
droppedInPackets |
protected long |
droppedOutBytes |
protected long |
droppedOutPackets |
protected EzyNetworkBytesFrame |
frameHour |
protected EzyNetworkBytesFrame |
frameMinute |
protected EzyNetworkBytesFrame |
frameSecond |
protected long |
readBytes |
protected long |
readPackets |
protected long |
writeErrorBytes |
protected long |
writeErrorPackets |
protected long |
writtenBytes |
protected long |
writtenPackets |
| Constructor and Description |
|---|
EzySimpleNetworkStats() |
| Modifier and Type | Method and Description |
|---|---|
void |
addDroppedInBytes(long bytes) |
void |
addDroppedInPackets(long packets) |
void |
addDroppedOutBytes(long bytes) |
void |
addDroppedOutPackets(long packets) |
void |
addReadBytes(long bytes) |
void |
addReadPackets(long packets) |
void |
addWriteErrorBytes(long bytes) |
void |
addWriteErrorPackets(long packets) |
void |
addWrittenBytes(long bytes) |
void |
addWrittenPackets(long packets) |
long |
getReadBytesPerHour() |
long |
getReadBytesPerMinute() |
long |
getReadBytesPerSecond() |
long |
getWrittenBytesPerHour() |
long |
getWrittenBytesPerMinute() |
long |
getWrittenBytesPerSecond() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDroppedInBytes, getReadBytes, getWriteErrorBytes, getWrittenBytesgetDroppedInPackets, getDroppedOutPackets, getReadPackets, getWriteErrorPackets, getWrittenPacketsprotected long readBytes
protected long writtenBytes
protected long droppedInBytes
protected long droppedOutBytes
protected long writeErrorBytes
protected long readPackets
protected long writtenPackets
protected long droppedInPackets
protected long droppedOutPackets
protected long writeErrorPackets
protected EzyNetworkBytesFrame frameHour
protected EzyNetworkBytesFrame frameMinute
protected EzyNetworkBytesFrame frameSecond
public void addReadBytes(long bytes)
addReadBytes in interface EzyNetworkBytesStatspublic void addWrittenBytes(long bytes)
addWrittenBytes in interface EzyNetworkBytesStatspublic void addDroppedInBytes(long bytes)
addDroppedInBytes in interface EzyNetworkBytesStatspublic void addDroppedOutBytes(long bytes)
addDroppedOutBytes in interface EzyNetworkBytesStatspublic void addWriteErrorBytes(long bytes)
addWriteErrorBytes in interface EzyNetworkBytesStatspublic long getReadBytesPerHour()
getReadBytesPerHour in interface EzyNetworkRoBytesStatspublic long getReadBytesPerMinute()
getReadBytesPerMinute in interface EzyNetworkRoBytesStatspublic long getReadBytesPerSecond()
getReadBytesPerSecond in interface EzyNetworkRoBytesStatspublic long getWrittenBytesPerHour()
getWrittenBytesPerHour in interface EzyNetworkRoBytesStatspublic long getWrittenBytesPerMinute()
getWrittenBytesPerMinute in interface EzyNetworkRoBytesStatspublic long getWrittenBytesPerSecond()
getWrittenBytesPerSecond in interface EzyNetworkRoBytesStatspublic void addReadPackets(long packets)
addReadPackets in interface EzyNetworkPacketsStatspublic void addWrittenPackets(long packets)
addWrittenPackets in interface EzyNetworkPacketsStatspublic void addDroppedInPackets(long packets)
addDroppedInPackets in interface EzyNetworkPacketsStatspublic void addDroppedOutPackets(long packets)
addDroppedOutPackets in interface EzyNetworkPacketsStatspublic void addWriteErrorPackets(long packets)
addWriteErrorPackets in interface EzyNetworkPacketsStatsCopyright © 2021 Young Monkeys. All rights reserved.