Overview

Namespaces

  • bandwidthThrottle
    • tokenBucket
      • storage
        • scope

Interfaces

  • GlobalScope
  • RequestScope
  • SessionScope
  • Overview
  • Namespace
  • Class

Interface GlobalScope

Marker interface for the global scope.

The global scope is shared amongst all processes.

A Token bucket which uses a storage of the global scope can limit a rate for a global resource. E.g. limit the aggregated bandwidth of a stream for all processes.

Direct known implementers

bandwidthThrottle\tokenBucket\storage\FileStorage, bandwidthThrottle\tokenBucket\storage\IPCStorage, bandwidthThrottle\tokenBucket\storage\MemcachedStorage, bandwidthThrottle\tokenBucket\storage\MemcacheStorage, bandwidthThrottle\tokenBucket\storage\PDOStorage, bandwidthThrottle\tokenBucket\storage\PHPRedisStorage, bandwidthThrottle\tokenBucket\storage\PredisStorage
Namespace: bandwidthThrottle\tokenBucket\storage\scope
License: WTFPL
Author: Markus Malkusch markus@malkusch.de
Link: Donations
Located at storage/scope/GlobalScope.php
API documentation generated by ApiGen