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 size) void
addOutcomePacket
(short ID, int size) long
long
int
int
int
int
int
long
static MPStatistic
int
long
getMain()
int
int
long
long
long
long
int
void
se.krka.kahlua.vm.KahluaTable
long
long
void
void
void
void
process
(long updatePeriod) void
setPacketsLength
(long size) void
setPeriod
(int period) void
void
teleport()
void
-
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 size) -
addIncomePacket
-
addOutcomePacket
public void addOutcomePacket(short ID, int size) -
IncrementLoadCellFromDisk
public void IncrementLoadCellFromDisk() -
IncrementSaveCellToDisk
public void IncrementSaveCellToDisk() -
process
public void process(long updatePeriod) -
getStatisticTable
- Throws:
IOException
-
setStatisticTable
- Throws:
IOException
-
getStatisticTableForLua
public se.krka.kahlua.vm.KahluaTable getStatisticTableForLua() -
setPeriod
public void setPeriod(int period) -
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()
-