PocketMine
MemoryManager Class Reference

Public Member Functions

 __construct (Server $server)
 
 isLowMemory ()
 
 canUseChunkCache ()
 
 getViewDistance ($distance)
 
 trigger ($memory, $limit, $global=false, $triggerCount=0)
 
 check ()
 
 triggerGarbageCollector ()
 
 addObjectWatcher ($object)
 
 isObjectAlive ($id)
 
 removeObjectWatch ($id)
 
 doObjectCleanup ()
 
 getObjectInformation ($id, $includeObject=false)
 
 dumpServerMemory ($outputFolder, $maxNesting, $maxStringSize)
 

Member Function Documentation

addObjectWatcher (   $object)
Parameters
object$object
Returns
string Object identifier for future checks

The documentation for this class was generated from the following file: