NoopPacketStatsRecorder

final class NoopPacketStatsRecorder implements PacketStatsRecorder

Class NoopPacketStatsRecorder. Provides nooppacketstatsrecorder functionality for the Hytale server.

java.lang.Object > NoopPacketStatsRecorder

Field Summary

No fields documented.

Method Detail

recordSend

public void recordSend (final int packetId, final int uncompressedSize, final int compressedSize)

Method recordSend.

Parameters:
final int packetId
final int uncompressedSize
final int compressedSize

recordReceive

public void recordReceive (final int packetId, final int uncompressedSize, final int compressedSize)

Method recordReceive.

Parameters:
final int packetId
final int uncompressedSize
final int compressedSize

getEntry

public PacketStatsEntry getEntry (final int packetId)

Method getEntry.

Parameters:
final int packetId

PacketStatsEntry

public new PacketStatsEntry ()

Method PacketStatsEntry.

getPacketId

public int getPacketId ()

Method getPacketId.

getName

public String getName ()

Method getName.

hasData

public boolean hasData ()

Method hasData.

getSentCount

public int getSentCount ()

Method getSentCount.

getSentUncompressedTotal

public long getSentUncompressedTotal ()

Method getSentUncompressedTotal.

getSentCompressedTotal

public long getSentCompressedTotal ()

Method getSentCompressedTotal.

getSentUncompressedMin

public long getSentUncompressedMin ()

Method getSentUncompressedMin.

getSentUncompressedMax

public long getSentUncompressedMax ()

Method getSentUncompressedMax.

getSentCompressedMin

public long getSentCompressedMin ()

Method getSentCompressedMin.

getSentCompressedMax

public long getSentCompressedMax ()

Method getSentCompressedMax.

getSentUncompressedAvg

public double getSentUncompressedAvg ()

Method getSentUncompressedAvg.

getSentCompressedAvg

public double getSentCompressedAvg ()

Method getSentCompressedAvg.

getSentRecently

public RecentStats getSentRecently ()

Method getSentRecently.

getReceivedCount

public int getReceivedCount ()

Method getReceivedCount.

getReceivedUncompressedTotal

public long getReceivedUncompressedTotal ()

Method getReceivedUncompressedTotal.

getReceivedCompressedTotal

public long getReceivedCompressedTotal ()

Method getReceivedCompressedTotal.

getReceivedUncompressedMin

public long getReceivedUncompressedMin ()

Method getReceivedUncompressedMin.

getReceivedUncompressedMax

public long getReceivedUncompressedMax ()

Method getReceivedUncompressedMax.

getReceivedCompressedMin

public long getReceivedCompressedMin ()

Method getReceivedCompressedMin.

getReceivedCompressedMax

public long getReceivedCompressedMax ()

Method getReceivedCompressedMax.

getReceivedUncompressedAvg

public double getReceivedUncompressedAvg ()

Method getReceivedUncompressedAvg.

getReceivedCompressedAvg

public double getReceivedCompressedAvg ()

Method getReceivedCompressedAvg.

getReceivedRecently

public RecentStats getReceivedRecently ()

Method getReceivedRecently.