ProxyBucketAccessor

constructor(proxyManager: ProxyManager<K>, keySupplier: BucketKeySupplier<K>, configurationSupplier: BucketConfigurationSupplier)(source)

Parameters

proxyManager

Scope of the rate limit, see RateLimitScope values.

keySupplier

Supplies the key to create/retrieve a bucket using the proxyManager

configurationSupplier

A supplier of BucketConfiguration, describing the rate limits