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 |
|
| AsyncBatchHelper<T,R,CT,CR> |
Helper class for batching
|
| AsyncBatchingExecutor |
|
| AsyncBucketProxy |
|
| AsyncBucketProxyAdapter |
|
| AsyncCommandExecutor |
|
| AsyncCompareAndSwapOperation |
|
| AsyncOptimizationController |
|
| AsyncProxyManager<K> |
|
| AsyncVerboseBucket |
Intent of this interface is to provide the verbose version of AsyncBucketProxy API.
|
| BackwardCompatibilityException |
|
| Bandwidth |
|
| BandwidthBuilder |
Provides API for bandwidth builder
|
| BandwidthBuilder.BandwidthBuilderBuildStage |
The final build stage with ability to configure optional parameters of bandwidth, like id or initial tokens
|
| BandwidthBuilder.BandwidthBuilderCapacityStage |
Capacity configuration building stage
|
| BandwidthBuilder.BandwidthBuilderRefillStage |
Stage is responsible for configuration of refilling speed
|
| BatchHelper<T,R,CT,CR> |
Helper class for batching
|
| BatchHelper.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.
|
| BucketConfiguration |
|
| BucketExceptions |
|
| BucketExceptions.BucketExecutionException |
|
| BucketListener |
Interface for listening bucket related events.
|
| BucketNotFoundError |
|
| BucketNotFoundException |
|
| BucketProxy |
Provides a light-weight proxy to bucket which state actually stored in external storage, like in-memory jvm or relational database.
|
| BucketState |
|
| BucketState64BitsInteger |
|
| BucketTableSettings |
|
| CheckConfigurationVersionAndExecuteCommand<T> |
|
| ClientSideConfig |
|
| CommandError |
|
| CommandExecutor |
|
| CommandResult<T> |
|
| ComparableByContent<T extends ComparableByContent> |
|
| CompareAndSwapOperation |
|
| ConfigurationBuilder |
|
| ConfigurationNeedToBeReplacedError |
|
| ConsumeAsMuchAsPossibleCommand |
|
| ConsumeIgnoringRateLimitsCommand |
|
| ConsumptionProbe |
Describes tokens consumed, tokens remaining, time required for token regeneration to occur, and
the current bucket configuration after consumption.
|
| CreateInitialStateAndExecuteCommand<T> |
|
| CreateInitialStateWithVersionOrReplaceConfigurationAndExecuteCommand<T> |
|
| 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 |
|
| DeserializationAdapter<S> |
|
| EstimateAbilityToConsumeCommand |
|
| EstimationProbe |
Describes the estimation result.
|
| ExecutionStrategy |
Defines the strategy for request execution.
|
| 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 |
|
| GetAvailableTokensCommand |
|
| GetConfigurationCommand |
|
| ImplicitConfigurationReplacement |
|
| InternalSerializationHelper |
|
| LimitChecker |
|
| LocalBucket |
Represents the bucket inside current JVM.
|
| LocalBucketBuilder |
|
| LocalBucketSerializationHelper |
|
| LockAndGetResult |
|
| LockBasedTransaction |
|
| LockFreeBucket |
|
| ManuallySyncingOptimization |
|
| Mapper<T> |
|
| MathType |
|
| MultiCommand |
|
| MultiResult |
|
| MutableBucketEntry |
|
| NopeOptimizationListener |
|
| Nothing |
|
| Optimization |
|
| OptimizationController |
|
| OptimizationListener |
Monitoring listener for applied optimizations
|
| Optimizations |
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 by PredictiveOptimization
|
| PredictiveOptimization |
Optimization that can serve requests locally without synchronization with external storage until thresholds are not violated.
|
| PrimaryKeyMapper<T> |
|
| 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 |
Deprecated. |
| RemoteAsyncBucketBuilder<K> |
|
| RemoteBucketBuilder<K> |
|
| RemoteBucketState |
|
| RemoteCommand<T> |
|
| RemoteStat |
|
| RemoteVerboseResult<T> |
|
| ReplaceConfigurationCommand |
|
| Request<T> |
|
| ReserveAndCalculateTimeToSleepCommand |
|
| ResetCommand |
|
| Sampling |
|
| SchedulingBucket |
Provides the scheduling API for Bucket.
|
| Scope |
|
| SelectForUpdateBasedTransaction |
|
| SerializationAdapter<T> |
|
| SerializationHandle<T> |
|
| SerializationHandles |
|
| SimpleBucketListener |
|
| SkipSyncOnZeroOptimization |
Optimization that can serve requests locally without synchronization with external storage when it detects that there is no tokens in remote storage,
in such case synchronization with storage is being postponed to proposed refill of first token.
|
| SQLProxyConfiguration<K> |
|
| SQLProxyConfigurationBuilder<K> |
|
| 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.
|
| Timeout |
|
| TimeoutException |
|
| TokensInheritanceStrategy |
|
| 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 of Bucket API.
|
| VerboseCommand<T> |
|
| VerboseResult<T> |
|
| VerboseResult.Diagnostics |
Describer of internal bucket state
|
| Version |
|
| Versions |
|
| Versions.UnknownVersion |
|