Package com.tenio.core.network.statistic
Class NetworkWriterStatistic
java.lang.Object
com.tenio.core.network.statistic.NetworkWriterStatistic
This class supports creating instance for holding the network written data.
-
Method Summary
Modifier and TypeMethodDescriptionlong
long
long
long
long
static NetworkWriterStatistic
void
updateWrittenBytes
(long numberBytes) void
updateWrittenDroppedPacketsByFull
(long numberPackets) void
updateWrittenDroppedPacketsByPolicy
(long numberPackets) void
updateWrittenPackets
(long numberPackets)
-
Method Details
-
newInstance
-
updateWrittenBytes
public void updateWrittenBytes(long numberBytes) -
updateWrittenPackets
public void updateWrittenPackets(long numberPackets) -
updateWrittenDroppedPacketsByPolicy
public void updateWrittenDroppedPacketsByPolicy(long numberPackets) -
updateWrittenDroppedPacketsByFull
public void updateWrittenDroppedPacketsByFull(long numberPackets) -
getWrittenBytes
public long getWrittenBytes() -
getWrittenPackets
public long getWrittenPackets() -
getWrittenDroppedPacketsByPolicy
public long getWrittenDroppedPacketsByPolicy() -
getWrittenDroppedPacketsByFull
public long getWrittenDroppedPacketsByFull() -
getWrittenDroppedPackets
public long getWrittenDroppedPackets()
-