Package | Description |
---|---|
io.github.bucket4j | |
io.github.bucket4j.distributed.proxy | |
io.github.bucket4j.distributed.remote | |
io.github.bucket4j.local |
Modifier and Type | Class and Description |
---|---|
class |
BucketState64BitsInteger |
class |
BucketStateIEEE754 |
Modifier and Type | Method and Description |
---|---|
BucketState |
BucketState64BitsInteger.copy() |
BucketState |
BucketState.copy() |
static BucketState |
BucketState.createInitialState(BucketConfiguration configuration,
MathType mathType,
long currentTimeNanos) |
BucketState |
Bucket.createSnapshot()
Creates the copy of internal state.
|
static <S> BucketState |
BucketState.deserialize(DeserializationAdapter<S> adapter,
S input,
Version backwardCompatibilityVersion) |
BucketState |
VerboseResult.getState() |
Modifier and Type | Method and Description |
---|---|
void |
BucketState64BitsInteger.copyStateFrom(BucketState sourceState) |
void |
BucketState.copyStateFrom(BucketState sourceState) |
void |
BucketStateIEEE754.copyStateFrom(BucketState sourceState) |
static <O> void |
BucketState.serialize(SerializationAdapter<O> adapter,
O output,
BucketState state,
Version backwardCompatibilityVersion) |
Constructor and Description |
---|
VerboseResult(long operationTimeNanos,
T value,
BucketConfiguration configuration,
BucketState state) |
Modifier and Type | Method and Description |
---|---|
BucketState |
DefaultBucketProxy.createSnapshot() |
Modifier and Type | Method and Description |
---|---|
BucketState |
RemoteBucketState.copyBucketState() |
BucketState |
RemoteBucketState.getState() |
Constructor and Description |
---|
RemoteBucketState(BucketConfiguration configuration,
BucketState state,
RemoteStat stat) |
Modifier and Type | Method and Description |
---|---|
BucketState |
SynchronizedBucket.createSnapshot() |
BucketState |
LockFreeBucket.createSnapshot() |
Copyright © 2020. All rights reserved.