Package | Description |
---|---|
io.github.bucket4j | |
io.github.bucket4j.local |
Modifier and Type | Field and Description |
---|---|
static Set<MathType> |
MathType.ALL |
Modifier and Type | Method and Description |
---|---|
MathType |
BucketState64BitsInteger.getMathType() |
MathType |
BucketState.getMathType() |
MathType |
BucketStateIEEE754.getMathType() |
static MathType |
MathType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MathType[] |
MathType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static BucketState |
BucketState.createInitialState(BucketConfiguration configuration,
MathType mathType,
long currentTimeNanos) |
Modifier and Type | Method and Description |
---|---|
LocalBucketBuilder |
LocalBucketBuilder.withMath(MathType mathType) |
Constructor and Description |
---|
LockFreeBucket(BucketConfiguration configuration,
MathType mathType,
TimeMeter timeMeter) |
SynchronizedBucket(BucketConfiguration configuration,
MathType mathType,
TimeMeter timeMeter) |
Copyright © 2020. All rights reserved.