- java.lang.Object
-
- io.github.bucket4j.BucketConfiguration
-
- All Implemented Interfaces:
ComparableByContent<BucketConfiguration>
public final class BucketConfiguration extends Object implements ComparableByContent<BucketConfiguration>
-
-
Field Summary
Fields Modifier and Type Field Description static SerializationHandle<BucketConfiguration>SERIALIZATION_HANDLE
-
Constructor Summary
Constructors Constructor Description BucketConfiguration(List<Bandwidth> bandwidths)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConfigurationBuilderbuilder()booleanequals(Object o)booleanequalsByContent(BucketConfiguration other)Bandwidth[]getBandwidths()inthashCode()StringtoString()
-
-
-
Field Detail
-
SERIALIZATION_HANDLE
public static final SerializationHandle<BucketConfiguration> SERIALIZATION_HANDLE
-
-
Method Detail
-
builder
public static ConfigurationBuilder builder()
-
getBandwidths
public Bandwidth[] getBandwidths()
-
equalsByContent
public boolean equalsByContent(BucketConfiguration other)
- Specified by:
equalsByContentin interfaceComparableByContent<BucketConfiguration>
-
-