Module io.github.bucket4j.core
Package io.github.bucket4j.distributed.proxy
-
Interface Summary Interface Description AsyncCommandExecutor AsyncProxyManager<K> The asynchronous equivalent ofProxyManager.CommandExecutor ExecutionStrategy Defines the strategy for request execution.ExpiredEntriesCleaner 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.RemoteAsyncBucketBuilder<K> The builder forAsyncBucketProxyRemoteBucketBuilder<K> The builder forBucketProxyTimeout -
Class Summary Class Description AbstractProxyManager<K> AbstractProxyManagerBuilder<K,P extends ProxyManager<K>,B extends AbstractProxyManagerBuilder<K,P,B>> Base class for all proxy-manager builders.AsyncProxyManagerView<K,OldKey> ClientSideConfig Represents additional options forProxyManagersuch as: Backward compatibility version, seeClientSideConfig.backwardCompatibleWith(Version)for more details. Client-side clock, seeClientSideConfig.withClientClock(TimeMeter)for more details.DefaultAsyncBucketProxy DefaultBucketProxy ImplicitConfigurationReplacement ProxyManagerView<K,KeyOld> RemoteAsyncBucketBuilderView<K,KeyOld> RemoteBucketBuilderView<K,KeyOld> -
Enum Summary Enum Description RecoveryStrategy Specifies the reaction which should be applied in case of previously saved state of bucket has been lost. -
Exception Summary Exception Description BucketNotFoundException 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.ConfigurationNeedToBeReplacedException