| Package | Description |
|---|---|
| io.github.bucket4j | |
| io.github.bucket4j.local |
| Modifier and Type | Method and Description |
|---|---|
MathType |
BucketState64BitsInteger.getMathType() |
MathType |
BucketState.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)
Warnings: this is not a part of Public API.
|
| Constructor and Description |
|---|
LockFreeBucket(BucketConfiguration configuration,
MathType mathType,
TimeMeter timeMeter) |
SynchronizedBucket(BucketConfiguration configuration,
MathType mathType,
TimeMeter timeMeter) |
ThreadUnsafeBucket(BucketConfiguration configuration,
MathType mathType,
TimeMeter timeMeter) |
Copyright © 2024. All rights reserved.