All Classes
-
All Classes Interface Summary Class Summary Enum Summary Exception Summary Annotation Types Summary Class Description AbstractBinaryTransaction AbstractBucket AbstractCompareAndSwapBasedProxyManager<K> The base class for proxy managers that built on top of idea that underlining storage provide transactions and locking.AbstractLockBasedProxyManager<K> The base class for proxy managers that built on top of idea that underlining storage provide Compare-And-Swap functionality.AbstractProxyManager<K> AbstractSelectForUpdateBasedProxyManager<K> The base class for proxy managers that built on top of idea that underlining storage provide Compare-And-Swap functionality.AddTokensCommand AsyncBatchingExecutor AsyncBucketProxy Asynchronous analog ofBucketProxy.AsyncBucketProxyAdapter AsyncCommandExecutor AsyncCompareAndSwapOperation Describes the set of operations thatAbstractCompareAndSwapBasedProxyManagertypically performs in reaction to user request.AsyncOptimizationController The optimization controller forAsyncBucketProxy.AsyncProxyManager<K> The asynchronous equivalent ofProxyManager.AsyncVerboseBucket Intent of this interface is to provide the verbose version ofAsyncBucketProxyAPI.BackwardCompatibilityException Bandwidth Anatomy of bandwidth:BatchHelper<T,R,CT,CR> Helper class for batchingBatchHelper.BatchFailedException BatchingExecutor BatchingOptimization Optimization that combines independent requests to same bucket into batches in order to reduce request count to remote storage.BlockingBucket Provides blocking API for bucket that allows to use bucket as scheduler.BlockingStrategy Specifies the way to block current thread to amount of time required to refill missed number of tokens in the bucket.Bucket Performs rate limiting using algorithm based on top of ideas of Token Bucket.Bucket4j Deprecated. BucketConfiguration BucketEntryWrapper BucketExceptions BucketExceptions.BucketExecutionException BucketListener Interface for listening bucket related events.BucketNotFoundError 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.BucketProxy Provides a light-weight proxy to bucket which state actually stored in external storage, like in-memory jvm or relational database.BucketState BucketState64BitsInteger BucketStateIEEE754 BucketTableSettings ClientSideConfig Represents additional options forProxyManagersuch as: Backward compatibility version, seeClientSideConfig.backwardCompatibleWith(Version)for more details. Client-side clock, seeClientSideConfig.withClientClock(TimeMeter)for more details.CommandError CommandExecutor CommandResult<T> ComparableByContent<T extends ComparableByContent> CompareAndSwapOperation ConfigurationBuilder The builder forBucketConfigurationConsumeAsMuchAsPossibleCommand ConsumeIgnoringRateLimitsCommand ConsumptionProbe Describes tokens consumed, tokens remaining, time required for token regeneration to occur, and the current bucket configuration after consumption.CreateInitialStateAndExecuteCommand<T> CreateInitialStateCommand CreateSnapshotCommand DataOutputSerializationAdapter DefaultAsyncBucketProxy DefaultBucketProxy DefaultOptimizationListener The simple listener that just stores all events as AtomicLong counters and provides getters for them.DelayOptimization Optimization that can serve requests locally without synchronization with external storage until thresholds are not violated.DelayParameters Describes parameters forDelayOptimization.DeserializationAdapter<S> EstimateAbilityToConsumeCommand EstimationProbe Describes the estimation result.Experimental Code is marked by this annotation is intended to be used strongly by internal code and can be removed at any time without prior notice.ExpirationAfterWriteStrategy Represents the strategy for choosing time to live for buckets in the cache.ForceAddTokensCommand GenericEntry GetAvailableTokensCommand GetConfigurationCommand InternalSerializationHelper LimitChecker LocalBucket Represents the bucket inside current JVM.LocalBucketBuilder This builder creates in-memory buckets (LockFreeBucket).LocalBucketSerializationHelper LockAndGetResult LockBasedTransaction Describes the set of operations thatAbstractLockBasedProxyManagertypically performs in reaction to user request.LockFreeBucket MathType MultiCommand MultiResult MutableBucketEntry NopeOptimizationListener Nothing Optimization Specifies request optimization strategy forBucketProxyandAsyncBucketProxy.OptimizationController The optimization controller forBucketProxy.OptimizationListener Monitoring listener for applied optimizationsOptimizations Provides factory methods for all request optimizations that are built-in into Bucket4j library.PredictionParameters Specifies the parameters for quality of distributes consumption rate prediction that are used byPredictiveOptimizationPredictiveOptimization Optimization that can serve requests locally without synchronization with external storage until thresholds are not violated.PrimitiveSerializationHandles ProxyManager<K> Represents an extension point of bucket4j library.RecoveryStrategy Specifies the reaction which should be applied in case of previously saved state of bucket has been lost.Refill Specifies the speed of tokens regeneration.RemoteAsyncBucketBuilder<K> The builder forAsyncBucketProxyRemoteBucketBuilder<K> The builder forBucketProxyRemoteBucketState RemoteCommand<T> RemoteStat RemoteVerboseResult<T> Intention of this class is to provide wrapper around results returned by any method ofVerboseBucketandAsyncVerboseBucket.ReplaceConfigurationCommand Request<T> ReserveAndCalculateTimeToSleepCommand ResetCommand Sampling SchedulingBucket Provides the scheduling API forBucket.SelectForUpdateBasedTransaction Describes the set of operations thatAbstractSelectForUpdateBasedProxyManagertypically performs in reaction to user request.SerializationAdapter<T> SerializationHandle<T> SerializationHandles SimpleBucketListener SQLProxyConfiguration SQLProxyConfigurationBuilder SyncCommand SynchronizationStrategy Defines the strategy of synchronization which need to be applied to prevent data-races in multithreading usage scenario.SynchronizedBucket ThreadUnsafeBucket TimeMeter An abstraction over time measurement.TokensInheritanceStrategy Specifies the rules for inheritance of available tokens whenBucket.replaceConfiguration(BucketConfiguration, TokensInheritanceStrategy)happens.TryConsumeAndReturnRemainingTokensCommand TryConsumeCommand UninterruptibleBlockingStrategy Specifies the way to block current thread to amount of time required to refill missed number of tokens in the bucket.UnsupportedNamedTypeError UnsupportedNamedTypeException UnsupportedTypeError UnsupportedTypeException UsageOfObsoleteApiError UsageOfObsoleteApiException UsageOfUnsupportedApiError UsageOfUnsupportedApiException VerboseBucket Intent of this interface is to provide the verbose version ofBucketAPI.VerboseCommand<T> VerboseResult<T> Intention of this class is to provide wrapper around results returned by any method ofVerboseBucketandAsyncVerboseBucket.VerboseResult.Diagnostics Describer of internal bucket stateVersion Versions Versions.UnknownVersion