Class NetworkWriterStatistic

java.lang.Object
com.tenio.core.network.statistic.NetworkWriterStatistic

public final class NetworkWriterStatistic extends Object
This class supports creating instance for holding the network written data.
  • Method Details

    • newInstance

      public static NetworkWriterStatistic 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()