Module io.github.bucket4j.core
Package io.github.bucket4j.distributed.proxy
package io.github.bucket4j.distributed.proxy
-
ClassDescriptionAbstractProxyManagerBuilder<K,
P extends ProxyManager<K>, B extends AbstractProxyManagerBuilder<K, P, B>> Base class for all proxy-manager builders.The asynchronous equivalent ofProxyManager.AsyncProxyManagerView<K,OldKey> Exception which thrown each time whenDefaultBucketProxyfound that bucket state has been lost, andDefaultBucketProxyis unable to repair bucket state or recovery strategy isRecoveryStrategy.THROW_BUCKET_NOT_FOUND_EXCEPTION.Represents additional options forProxyManagersuch as: Backward compatibility version, seeClientSideConfig.backwardCompatibleWith(Version)for more details. Client-side clock, seeClientSideConfig.withClientClock(TimeMeter)for more details.Defines the strategy for request execution.Interface used by particularProxyManagerimplementations to indicate that they support the manual(triggered by user) removing of expired bucket entries.ProxyManager<K>Represents an extension point of Bucket4j library.ProxyManagerView<K,KeyOld> Specifies the reaction which should be applied in case of previously saved state of bucket has been lost.The builder forAsyncBucketProxyRemoteAsyncBucketBuilderView<K,KeyOld> The builder forBucketProxyRemoteBucketBuilderView<K,KeyOld>