Class MPStatistic
java.lang.Object
zombie.network.MPStatistic
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclass
static class
static class
static class
static class
static class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addIncomePacket
(PacketTypes.PacketType packetType, int int0) void
addOutcomePacket
(short short0, int int0) long
long
int
int
int
int
int
long
static MPStatistic
int
long
getMain()
int
int
long
long
long
long
int
void
getStatisticTable
(ByteBuffer byteBuffer) long
long
void
void
void
void
process
(long long0) void
setPacketsLength
(long long0) void
setPeriod
(int int0) void
setStatisticTable
(ByteBuffer byteBuffer) void
teleport()
void
write
(ByteBufferWriter byteBufferWriter)
-
Field Details
-
instance
-
LoaderThreadTasks
-
RecalcThreadTasks
-
SaveTasks
-
ServerMapToLoad
-
ServerMapLoadedCells
-
ServerMapLoaded2
-
Main
-
ServerLOS
-
LoaderThread
-
RecalcAllThread
-
SaveThread
-
PolyPathThread
-
WorldReuser
-
PlayerDownloadServer
-
MapCollisionThread
-
ChunkChecksum
-
Bullet
-
AnimationPlayerUpdate
-
ServerMapPreupdate
-
ServerMapPostupdate
-
IngameStateUpdate
-
clientStatisticEnable
public static boolean clientStatisticEnable
-
-
Constructor Details
-
MPStatistic
public MPStatistic()
-
-
Method Details
-
getInstance
-
IncrementServerChunkThreadSaveNow
public void IncrementServerChunkThreadSaveNow() -
teleport
public void teleport() -
write
-
setPacketsLength
public void setPacketsLength(long long0) -
addIncomePacket
-
addOutcomePacket
public void addOutcomePacket(short short0, int int0) -
IncrementLoadCellFromDisk
public void IncrementLoadCellFromDisk() -
IncrementSaveCellToDisk
public void IncrementSaveCellToDisk() -
process
public void process(long long0) -
getStatisticTable
- Throws:
IOException
-
setStatisticTable
- Throws:
IOException
-
getStatisticTableForLua
-
setPeriod
public void setPeriod(int int0) -
getPlayers
public long getPlayers() -
getZombies
public long getZombies() -
getLoadedCells
public long getLoadedCells() -
getMinUpdatePeriod
public long getMinUpdatePeriod() -
getMaxUpdatePeriod
public long getMaxUpdatePeriod() -
getAvgUpdatePeriod
public long getAvgUpdatePeriod() -
getLoadCellFromDisk
public int getLoadCellFromDisk() -
getSaveCellToDisk
public int getSaveCellToDisk() -
getLoaderThreadTasks
-
getRecalcThreadTasks
-
getSaveTasks
-
getServerMapToLoad
-
getServerMapLoadedCells
-
getServerMapLoaded2
-
getCountServerChunkThreadSaveNow
public int getCountServerChunkThreadSaveNow() -
getMain
-
getServerLOS
-
getLoaderThread
-
getRecalcAllThread
-
getSaveThread
-
getPolyPathThread
-
getWorldReuser
-
getPlayerDownloadServer
-
getMapCollisionThread
-
getChunkChecksum
-
getBullet
-
getAnimationPlayerUpdate
-
getServerMapPreupdate
-
getServerMapPostupdate
-
getIngameStateUpdate
-
getTotalMemory
public long getTotalMemory() -
getFreeMemory
public long getFreeMemory() -
getConnectionsCount
public long getConnectionsCount() -
getPacketLength
public long getPacketLength() -
getCountIncomePackets
public int getCountIncomePackets() -
getCountIncomeBytes
public int getCountIncomeBytes() -
getMaxIncomeBytesPerSecond
public int getMaxIncomeBytesPerSecond() -
getCountOutcomePackets
public int getCountOutcomePackets() -
getCountOutcomeBytes
public int getCountOutcomeBytes() -
getMaxOutcomeBytesPerSecond
public int getMaxOutcomeBytesPerSecond()
-