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.
Show file
Open project: bandwidth-throttle/token-bucket
Public Methods
Private Methods
Method |
Description |
|
attach ( ) |
Attaches the shared memory segment. |
|
Method Details
__construct()
public method
You can create the key with PHP's function ftok().
bootstrap()
public method
getMicrotime()
public method
isBootstrapped()
public method
setMicrotime()
public method