Uses of Interface
io.github.bucket4j.BandwidthBuilder.BandwidthBuilderBuildStage
Packages that use BandwidthBuilder.BandwidthBuilderBuildStage
-
Uses of BandwidthBuilder.BandwidthBuilderBuildStage in io.github.bucket4j
Methods in io.github.bucket4j that return BandwidthBuilder.BandwidthBuilderBuildStageModifier and TypeMethodDescriptionBy default, new created bandwidth has no ID.BandwidthBuilder.BandwidthBuilderBuildStage.initialTokens(long initialTokens) By default, new createdBandwidthhas amount tokens that equals its capacity.BandwidthBuilder.BandwidthBuilderRefillStage.refillGreedy(long tokens, Duration period) Configures refill that does refill of tokens in greedy manner, it will try to add the tokens to bucket as soon as possible.BandwidthBuilder.BandwidthBuilderRefillStage.refillIntervally(long tokens, Duration period) Configures refill that does refill of tokens in intervally manner.BandwidthBuilder.BandwidthBuilderRefillStage.refillIntervallyAligned(long tokens, Duration period, Instant timeOfFirstRefill) Configures refill that does refill of tokens in intervally manner.BandwidthBuilder.BandwidthBuilderRefillStage.refillIntervallyAlignedWithAdaptiveInitialTokens(long tokens, Duration period, Instant timeOfFirstRefill) Configures refill that does refill of tokens in intervally manner.Method parameters in io.github.bucket4j with type arguments of type BandwidthBuilder.BandwidthBuilderBuildStageModifier and TypeMethodDescriptionConfigurationBuilder.addLimit(Function<BandwidthBuilder.BandwidthBuilderCapacityStage, BandwidthBuilder.BandwidthBuilderBuildStage> bandwidthConfigurator) -
Uses of BandwidthBuilder.BandwidthBuilderBuildStage in io.github.bucket4j.local
Method parameters in io.github.bucket4j.local with type arguments of type BandwidthBuilder.BandwidthBuilderBuildStageModifier and TypeMethodDescriptionLocalBucketBuilder.addLimit(Function<BandwidthBuilder.BandwidthBuilderCapacityStage, BandwidthBuilder.BandwidthBuilderBuildStage> bandwidthConfigurator)