PHP Class pocketmine\event\server\LowMemoryEvent

Inheritance: extends ServerEvent
Afficher le fichier Open project: ClearSkyTeam/ClearSky

Méthodes publiques

Свойство Type Description
$handlerList

Méthodes publiques

Méthode Description
__construct ( $memory, $memoryLimit, $isGlobal = false, $triggerCount )
getMemory ( ) : integer Returns the memory usage at the time of the event call (in bytes)
getMemoryFreed ( ) : integer Amount of memory already freed
getMemoryLimit ( ) : integer Returns the memory limit defined (in bytes)
getTriggerCount ( ) : integer Returns the times this event has been called in the current low-memory state
isGlobal ( ) : boolean

Method Details

__construct() public méthode

public __construct ( $memory, $memoryLimit, $isGlobal = false, $triggerCount )

getMemory() public méthode

Returns the memory usage at the time of the event call (in bytes)
public getMemory ( ) : integer
Résultat integer

getMemoryFreed() public méthode

Amount of memory already freed
public getMemoryFreed ( ) : integer
Résultat integer

getMemoryLimit() public méthode

Returns the memory limit defined (in bytes)
public getMemoryLimit ( ) : integer
Résultat integer

getTriggerCount() public méthode

Returns the times this event has been called in the current low-memory state
public getTriggerCount ( ) : integer
Résultat integer

isGlobal() public méthode

public isGlobal ( ) : boolean
Résultat boolean

Property Details

$handlerList public_oe static_oe property

public static $handlerList