Class MPStatistic
java.lang.Object
zombie.network.MPStatistic
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassstatic classstatic classstatic classstatic classstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddIncomePacket(PacketTypes.PacketType packetType, int int0) voidaddOutcomePacket(short short0, int int0) longlongintintintintintlongstatic MPStatisticintlonggetMain()intintlonglonglonglongintvoidgetStatisticTable(ByteBuffer byteBuffer) longlongvoidvoidvoidvoidprocess(long long0) voidsetPacketsLength(long long0) voidsetPeriod(int int0) voidsetStatisticTable(ByteBuffer byteBuffer) voidteleport()voidwrite(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()
-