| Package | Description |
|---|---|
| io.github.bucket4j | |
| io.github.bucket4j.distributed.remote |
| Modifier and Type | Class and Description |
|---|---|
class |
BucketState64BitsInteger |
| Modifier and Type | Method and Description |
|---|---|
BucketState |
BucketState64BitsInteger.copy() |
BucketState |
BucketState.copy() |
static BucketState |
BucketState.createInitialState(BucketConfiguration configuration,
MathType mathType,
long currentTimeNanos) |
static <S> BucketState |
BucketState.deserialize(DeserializationAdapter<S> adapter,
S input) |
static BucketState |
BucketState.fromJsonCompatibleSnapshot(Map<String,Object> snapshot) |
BucketState |
VerboseResult.getState() |
BucketState |
BucketState64BitsInteger.replaceConfiguration(BucketConfiguration newConfiguration,
TokensInheritanceStrategy tokensInheritanceStrategy,
long currentTimeNanos) |
BucketState |
BucketState.replaceConfiguration(BucketConfiguration newConfiguration,
TokensInheritanceStrategy tokensInheritanceStrategy,
long currentTimeNanos) |
| Modifier and Type | Method and Description |
|---|---|
void |
BucketState64BitsInteger.copyStateFrom(BucketState sourceState) |
void |
BucketState.copyStateFrom(BucketState sourceState) |
static <O> void |
BucketState.serialize(SerializationAdapter<O> adapter,
O output,
BucketState state,
Version backwardCompatibilityVersion,
Scope scope) |
static Object |
BucketState.toJsonCompatibleSnapshot(BucketState state,
Version backwardCompatibilityVersion,
Scope scope) |
| Constructor and Description |
|---|
VerboseResult(long operationTimeNanos,
T value,
BucketState state) |
| Modifier and Type | Method and Description |
|---|---|
BucketState |
RemoteBucketState.copyBucketState() |
BucketState |
RemoteBucketState.getState() |
| Constructor and Description |
|---|
RemoteBucketState(BucketState state,
RemoteStat stat,
Long configurationVersion) |
Copyright © 2024. All rights reserved.