Uses of Class
io.github.bucket4j.Refill
-
Packages that use Refill Package Description io.github.bucket4j -
-
Uses of Refill in io.github.bucket4j
Methods in io.github.bucket4j that return Refill Modifier and Type Method Description static RefillRefill. greedy(long tokens, Duration period)Creates theRefillthat does refill of tokens in greedy manner, it will try to add the tokens to bucket as soon as possible.static RefillRefill. intervally(long tokens, Duration period)Creates theRefillthat does refill of tokens in intervally manner.static RefillRefill. intervallyAligned(long tokens, Duration period, Instant timeOfFirstRefill, boolean useAdaptiveInitialTokens)Creates theRefillthat does refill of tokens in intervally manner.static RefillRefill. of(long tokens, Duration period)Deprecated.static RefillRefill. smooth(long tokens, Duration period)Deprecated.Methods in io.github.bucket4j with parameters of type Refill Modifier and Type Method Description static BandwidthBandwidth. classic(long capacity, Refill refill)Specifies limitation in conventional interpretation of token-bucket algorithm.
-