Uses of Class
io.github.bucket4j.Bandwidth
-
Packages that use Bandwidth Package Description io.github.bucket4j io.github.bucket4j.local -
-
Uses of Bandwidth in io.github.bucket4j
Fields in io.github.bucket4j with type parameters of type Bandwidth Modifier and Type Field Description static SerializationHandle<Bandwidth>Bandwidth. SERIALIZATION_HANDLEMethods in io.github.bucket4j that return Bandwidth Modifier and Type Method Description BandwidthBandwidthBuilder.BandwidthBuilderBuildStage. build()Creates the new instance ofBandwidthstatic BandwidthBandwidth. classic(long capacity, Refill refill)Deprecated.Bandwidth[]BucketConfiguration. getBandwidths()static BandwidthBandwidth. simple(long capacity, Duration period)Deprecated.BandwidthBandwidth. withId(String id)Deprecated.BandwidthBandwidth. withInitialTokens(long initialTokens)Deprecated.Methods in io.github.bucket4j with parameters of type Bandwidth Modifier and Type Method Description ConfigurationBuilderConfigurationBuilder. addLimit(Bandwidth bandwidth)Adds limited bandwidth for all buckets which will be constructed by this builder instance.booleanBandwidth. equalsByContent(Bandwidth other)Constructor parameters in io.github.bucket4j with type arguments of type Bandwidth Constructor Description BucketConfiguration(List<Bandwidth> bandwidths) -
Uses of Bandwidth in io.github.bucket4j.local
Methods in io.github.bucket4j.local with parameters of type Bandwidth Modifier and Type Method Description LocalBucketBuilderLocalBucketBuilder. addLimit(Bandwidth bandwidth)Adds limited bandwidth for all buckets which will be constructed by this builder.
-