All Classes and Interfaces
Class
Description
Bucket4J module.
Annotation indicating that the current annotated method or all methods of the
annotated class are protected with "Token-bucket" rate-limiting algorithm.
All exceptions thrown by "bucket-token" (Bucket4J) module are subclasses of
BucketTokenException.Exception indicates that requested Bucket does not exist.
Exception indicates that Bucket does not have enough
tokens to enter protected method.
Exception indicates that specified refill strategy is unknown.
Intercepts method calls to apply "bucket-token" algorithm.
This is a factory to create Bucket instances which
stores all Bucket instances in a registry.