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.
|
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 |
BucketListener
Interface for listening bucket related events.
|
BucketState |
ConfigurationBuilder
A builder for buckets.
|
ConsumptionProbe
Describes both result of consumption and tokens remaining in the bucket 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.
|
UninterruptibleBlockingStrategy
Specifies the way to block current thread to amount of time required to refill missed number of tokens in the bucket.
|
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 both result of consumption and tokens remaining in the bucket after consumption.
|
EstimationProbe
Describes the estimation result.
|
Nothing |
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 both result of consumption and tokens remaining in the bucket after consumption.
|
EstimationProbe
Describes the estimation result.
|
TimeMeter
An abstraction over time measurement.
|
Copyright © 2020. All rights reserved.