PocketMine
|
Public Member Functions | |
__construct ($memory, $memoryLimit, $isGlobal=false, $triggerCount=0) | |
getMemory () | |
getMemoryLimit () | |
getTriggerCount () | |
isGlobal () | |
getMemoryFreed () | |
Public Member Functions inherited from Event | |
getEventName () | |
getHandlers () | |
Static Public Attributes | |
static | $handlerList = null |
Additional Inherited Members | |
Protected Attributes inherited from Event | |
$eventName = null | |
Called when the server is in a low-memory state as defined by the properties Plugins should free caches or other non-essential data.
getMemory | ( | ) |
Returns the memory usage at the time of the event call (in bytes)
getMemoryFreed | ( | ) |
Amount of memory already freed
getMemoryLimit | ( | ) |
Returns the memory limit defined (in bytes)
getTriggerCount | ( | ) |
Returns the times this event has been called in the current low-memory state
isGlobal | ( | ) |