Interface | Description |
---|---|
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.
|
BucketListener |
Interface for listening bucket related events.
|
BucketState | |
ScheduledBucket |
Provides TODO async API for bucket that allows to use bucket as async scheduler.
|
TimeMeter |
An abstraction over time measurement.
|
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. |
Class | Description |
---|---|
AbstractBucket | |
Bandwidth |
Anatomy of bandwidth:
|
Bucket4j | Deprecated |
BucketConfiguration | |
BucketExceptions | |
BucketState64BitsInteger | |
BucketStateIEEE754 | |
ConfigurationBuilder |
TODO add notes for building configuration
|
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.
|
LimitChecker | |
Nothing | |
Refill |
Specifies the speed of tokens regeneration.
|
SimpleBucketListener | |
VerboseResult<T> |
Intention of this class is to provide wrapper around results returned by any method of
VerboseBucket and AsyncVerboseBucket . |
Enum | Description |
---|---|
MathType |
Exception | Description |
---|---|
IncompatibleConfigurationException |
Copyright © 2020. All rights reserved.