Метод | Описание | |
---|---|---|
__construct ( string $name, Memcache $memcache ) | Sets the connected memcache API and the token bucket name. | |
bootstrap ( $microtime ) | ||
getMicrotime ( ) | ||
getMutex ( ) | ||
isBootstrapped ( ) | ||
remove ( ) | ||
setMicrotime ( $microtime ) |
public __construct ( string $name, Memcache $memcache ) | ||
$name | string | The name of the shared token bucket. |
$memcache | Memcache | The connected memcache API. |