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.
ファイルを表示
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