PHP Class bandwidthThrottle\tokenBucket\storage\IPCStorage
This storage is in the global scope. However the scope is limited to the
shared memory. I.e. the scope is not shared between hosts.
Afficher le fichier
Open project: bandwidth-throttle/token-bucket
Méthodes publiques
Private Methods
Méthode |
Description |
|
attach ( ) |
Attaches the shared memory segment. |
|
Method Details
__construct()
public méthode
You can create the key with PHP's function ftok().
bootstrap()
public méthode
getMicrotime()
public méthode
getMutex()
public méthode
isBootstrapped()
public méthode
setMicrotime()
public méthode