Overview

Namespaces

  • bandwidthThrottle
    • tokenBucket
      • storage
        • scope

Classes

  • FileStorage
  • IPCStorage
  • MemcachedStorage
  • MemcacheStorage
  • PDOStorage
  • PHPRedisStorage
  • PredisStorage
  • SessionStorage
  • SingleProcessStorage

Interfaces

  • Storage

Exceptions

  • StorageException
  • Overview
  • Namespace
  • Class

Class SingleProcessStorage

In-memory token storage which is only used for one single process.

This storage is in the request scope. It is not shared among processes and therefore needs no locking.

bandwidthThrottle\tokenBucket\storage\SingleProcessStorage implements bandwidthThrottle\tokenBucket\storage\Storage, bandwidthThrottle\tokenBucket\storage\scope\RequestScope
Final
Namespace: bandwidthThrottle\tokenBucket\storage
License: WTFPL
Author: Markus Malkusch markus@malkusch.de
Link: Donations
Located at storage/SingleProcessStorage.php
Methods summary
public
# __construct( )

Initialization.

Initialization.

API documentation generated by ApiGen