| Package | Description |
|---|---|
| io.github.bucket4j | |
| io.github.bucket4j.grid | |
| io.github.bucket4j.local |
| Class and Description |
|---|
| AbstractBucketBuilder
A builder for buckets.
|
| AsyncBucket
Provides asynchronous API for bucket.
|
| AsyncScheduledBucket
Provides async API for bucket that allows to use bucket as async scheduler.
|
| AsyncVerboseBucket
Intent of this interface is to provide the verbose version of
AsyncBucket API. |
| Bandwidth
Anatomy of bandwidth:
|
| 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.BucketExecutionException |
| BucketListener
Interface for listening bucket related events.
|
| BucketState |
| ConfigurationBuilder
A builder for buckets.
|
| ConsumptionProbe
Describes tokens consumed, tokens remaining, time required for token regeneration to occur, and
the current bucket configuration after consumption.
|
| EstimationProbe
Describes the estimation result.
|
| Extension
Represents an extension point of bucket4j library.
|
| Nothing |
| Refill
Specifies the speed of tokens regeneration.
|
| TimeMeter
An abstraction over time measurement.
|
| TokensInheritanceStrategy
Specifies the rules for inheritance of available tokens when
Bucket.replaceConfiguration(BucketConfiguration, TokensInheritanceStrategy) happens. |
| UninterruptibleBlockingStrategy
Specifies the way to block current thread to amount of time required to refill missed number of tokens in the bucket.
|
| VerboseBucket
Intent of this interface is to provide the verbose version of
Bucket API. |
| VerboseResult
Intention of this class is to provide wrapper around results returned by any method of
VerboseBucket and AsyncVerboseBucket. |
| Class and Description |
|---|
| AbstractBucket |
| BlockingBucket
Provides blocking API for bucket that allows to use bucket as scheduler.
|
| Bucket
Performs rate limiting using algorithm based on top of ideas of Token Bucket.
|
| BucketConfiguration |
| BucketListener
Interface for listening bucket related events.
|
| BucketState |
| ConsumptionProbe
Describes tokens consumed, tokens remaining, time required for token regeneration to occur, and
the current bucket configuration after consumption.
|
| EstimationProbe
Describes the estimation result.
|
| Nothing |
| TokensInheritanceStrategy
Specifies the rules for inheritance of available tokens when
Bucket.replaceConfiguration(BucketConfiguration, TokensInheritanceStrategy) happens. |
| VerboseResult
Intention of this class is to provide wrapper around results returned by any method of
VerboseBucket and AsyncVerboseBucket. |
| Class and Description |
|---|
| AbstractBucket |
| AbstractBucketBuilder
A builder for buckets.
|
| BlockingBucket
Provides blocking API for bucket that allows to use bucket as scheduler.
|
| Bucket
Performs rate limiting using algorithm based on top of ideas of Token Bucket.
|
| BucketConfiguration |
| BucketListener
Interface for listening bucket related events.
|
| BucketState |
| ConsumptionProbe
Describes tokens consumed, tokens remaining, time required for token regeneration to occur, and
the current bucket configuration after consumption.
|
| EstimationProbe
Describes the estimation result.
|
| Nothing |
| TimeMeter
An abstraction over time measurement.
|
| TokensInheritanceStrategy
Specifies the rules for inheritance of available tokens when
Bucket.replaceConfiguration(BucketConfiguration, TokensInheritanceStrategy) happens. |
| VerboseResult
Intention of this class is to provide wrapper around results returned by any method of
VerboseBucket and AsyncVerboseBucket. |
Copyright © 2021. All rights reserved.