PHP Class bandwidthThrottle\tokenBucket\storage\PHPRedisStorage
This storage is in the global scope.
This implementation requires at least phpredis-2.2.4.
Afficher le fichier
Open project: bandwidth-throttle/token-bucket
Class Usage Examples
Méthodes publiques
Method Details
__construct()
public méthode
The Redis API needs to be connected yet. I.e. Redis::connect() was
called already.
bootstrap()
public méthode
getMicrotime()
public méthode
getMutex()
public méthode
isBootstrapped()
public méthode
setMicrotime()
public méthode