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
void
recordSend
(final int packetId, final int uncompressedSize, final int compressedSize)
Method recordSend.
- Parameters:
final intpacketIdfinal intuncompressedSizefinal intcompressedSize
recordReceive
void
recordReceive
(final int packetId, final int uncompressedSize, final int compressedSize)
Method recordReceive.
- Parameters:
final intpacketIdfinal intuncompressedSizefinal intcompressedSize
getEntry
PacketStatsEntry
getEntry
(final int packetId)
Method getEntry.
- Parameters:
final intpacketId
PacketStatsEntry
new
PacketStatsEntry
()
Method PacketStatsEntry.
getPacketId
int
getPacketId
()
Method getPacketId.
getName
String
getName
()
Method getName.
hasData
boolean
hasData
()
Method hasData.
getSentCount
int
getSentCount
()
Method getSentCount.
getSentUncompressedTotal
long
getSentUncompressedTotal
()
Method getSentUncompressedTotal.
getSentCompressedTotal
long
getSentCompressedTotal
()
Method getSentCompressedTotal.
getSentUncompressedMin
long
getSentUncompressedMin
()
Method getSentUncompressedMin.
getSentUncompressedMax
long
getSentUncompressedMax
()
Method getSentUncompressedMax.
getSentCompressedMin
long
getSentCompressedMin
()
Method getSentCompressedMin.
getSentCompressedMax
long
getSentCompressedMax
()
Method getSentCompressedMax.
getSentUncompressedAvg
double
getSentUncompressedAvg
()
Method getSentUncompressedAvg.
getSentCompressedAvg
double
getSentCompressedAvg
()
Method getSentCompressedAvg.
getSentRecently
RecentStats
getSentRecently
()
Method getSentRecently.
getReceivedCount
int
getReceivedCount
()
Method getReceivedCount.
getReceivedUncompressedTotal
long
getReceivedUncompressedTotal
()
Method getReceivedUncompressedTotal.
getReceivedCompressedTotal
long
getReceivedCompressedTotal
()
Method getReceivedCompressedTotal.
getReceivedUncompressedMin
long
getReceivedUncompressedMin
()
Method getReceivedUncompressedMin.
getReceivedUncompressedMax
long
getReceivedUncompressedMax
()
Method getReceivedUncompressedMax.
getReceivedCompressedMin
long
getReceivedCompressedMin
()
Method getReceivedCompressedMin.
getReceivedCompressedMax
long
getReceivedCompressedMax
()
Method getReceivedCompressedMax.
getReceivedUncompressedAvg
double
getReceivedUncompressedAvg
()
Method getReceivedUncompressedAvg.
getReceivedCompressedAvg
double
getReceivedCompressedAvg
()
Method getReceivedCompressedAvg.
getReceivedRecently
RecentStats
getReceivedRecently
()
Method getReceivedRecently.