Uses of Class
io.github.bucket4j.local.LocalBucketBuilder
-
Packages that use LocalBucketBuilder Package Description io.github.bucket4j io.github.bucket4j.local -
-
Uses of LocalBucketBuilder in io.github.bucket4j
Methods in io.github.bucket4j that return LocalBucketBuilder Modifier and Type Method Description static LocalBucketBuilderBucket. builder()Creates the new builder of in-memory buckets.static LocalBucketBuilderBucket4j. builder()Deprecated. -
Uses of LocalBucketBuilder in io.github.bucket4j.local
Methods in io.github.bucket4j.local that return LocalBucketBuilder Modifier and Type Method Description LocalBucketBuilderLocalBucketBuilder. addLimit(Bandwidth bandwidth)Adds limited bandwidth for all buckets which will be constructed by this builder.LocalBucketBuilderLocalBucketBuilder. withCustomTimePrecision(TimeMeter customTimeMeter)SpecifiescustomTimeMetertime meter for buckets that will be created by this builder.LocalBucketBuilderLocalBucketBuilder. withMath(MathType mathType)Warnings: this is not a part of Public API.LocalBucketBuilderLocalBucketBuilder. withMillisecondPrecision()SpecifiesTimeMeter.SYSTEM_MILLISECONDSas time meter for buckets that will be created by this builder.LocalBucketBuilderLocalBucketBuilder. withNanosecondPrecision()SpecifiesTimeMeter.SYSTEM_NANOTIMEas time meter for buckets that will be created by this builder.LocalBucketBuilderLocalBucketBuilder. withSynchronizationStrategy(SynchronizationStrategy synchronizationStrategy)SpecifiessynchronizationStrategyfor buckets that will be created by this builder.
-