Class NetworkStatistic

java.lang.Object
zombie.network.statistics.data.Statistic
zombie.network.statistics.data.NetworkStatistic
All Implemented Interfaces:
IStatistic

public class NetworkStatistic extends Statistic implements IStatistic
  • Field Details

    • packets

      public final Counter packets
    • receivedPackets

      public final Counter receivedPackets
    • receivedBytes

      public final Counter receivedBytes
    • receivedBps

      public final Counter receivedBps
    • maxReceivedBps

      public final Counter maxReceivedBps
    • sentPackets

      public final Counter sentPackets
    • sentBytes

      public final Counter sentBytes
    • sentBps

      public final Counter sentBps
    • maxSentBps

      public final Counter maxSentBps
    • lastUserMessageBytesPushed

      public final Counter lastUserMessageBytesPushed
    • lastUserMessageBytesSent

      public final Counter lastUserMessageBytesSent
    • lastUserMessageBytesResent

      public final Counter lastUserMessageBytesResent
    • lastUserMessageBytesReceivedProcessed

      public final Counter lastUserMessageBytesReceivedProcessed
    • lastUserMessageBytesReceivedIgnored

      public final Counter lastUserMessageBytesReceivedIgnored
    • lastActualBytesSent

      public final Counter lastActualBytesSent
    • lastActualBytesReceived

      public final Counter lastActualBytesReceived
    • totalUserMessageBytesPushed

      public final Counter totalUserMessageBytesPushed
    • totalUserMessageBytesSent

      public final Counter totalUserMessageBytesSent
    • totalUserMessageBytesResent

      public final Counter totalUserMessageBytesResent
    • totalUserMessageBytesReceivedProcessed

      public final Counter totalUserMessageBytesReceivedProcessed
    • totalUserMessageBytesReceivedIgnored

      public final Counter totalUserMessageBytesReceivedIgnored
    • totalActualBytesSent

      public final Counter totalActualBytesSent
    • totalActualBytesReceived

      public final Counter totalActualBytesReceived
    • connectionStartTime

      public final Counter connectionStartTime
    • bpsLimitByCongestionControl

      public final Counter bpsLimitByCongestionControl
    • bpsLimitByOutgoingBandwidthLimit

      public final Counter bpsLimitByOutgoingBandwidthLimit
    • messageInSendBufferImmediate

      public final Counter messageInSendBufferImmediate
    • messageInSendBufferHigh

      public final Counter messageInSendBufferHigh
    • messageInSendBufferMedium

      public final Counter messageInSendBufferMedium
    • messageInSendBufferLow

      public final Counter messageInSendBufferLow
    • bytesInSendBufferImmediate

      public final Counter bytesInSendBufferImmediate
    • bytesInSendBufferHigh

      public final Counter bytesInSendBufferHigh
    • bytesInSendBufferMedium

      public final Counter bytesInSendBufferMedium
    • bytesInSendBufferLow

      public final Counter bytesInSendBufferLow
    • messagesInResendBuffer

      public final Counter messagesInResendBuffer
    • bytesInResendBuffer

      public final Counter bytesInResendBuffer
    • packetLossLastSecond

      public final Counter packetLossLastSecond
    • packetLossTotal

      public final Counter packetLossTotal
    • voipReceived

      public final Counter voipReceived
    • voipSent

      public final Counter voipSent
  • Constructor Details

    • NetworkStatistic

      public NetworkStatistic(String application)
  • Method Details

    • getInstance

      public static NetworkStatistic getInstance()
    • update

      public void update()
      Specified by:
      update in interface IStatistic
      Overrides:
      update in class Statistic
    • addIncomePacket

      public void addIncomePacket(short ID, int size, UdpConnection connection)
    • addOutcomePacket

      public void addOutcomePacket(short ID, int size, UdpConnection connection)