| Package | Description |
|---|---|
| io.github.bucket4j | |
| io.github.bucket4j.distributed | |
| io.github.bucket4j.distributed.remote | |
| io.github.bucket4j.distributed.serialization |
| Modifier and Type | Method and Description |
|---|---|
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) |
| Modifier and Type | Method and Description |
|---|---|
static <O> void |
ExpirationAfterWriteStrategy.serialize(SerializationAdapter<O> adapter,
O output,
ExpirationAfterWriteStrategy expirationStrategy,
Version backwardCompatibilityVersion,
Scope scope) |
static Map<String,Object> |
ExpirationAfterWriteStrategy.toJsonCompatibleSnapshot(ExpirationAfterWriteStrategy expirationStrategy,
Version backwardCompatibilityVersion,
Scope scope) |
| Modifier and Type | Method and Description |
|---|---|
static <O> void |
RemoteCommand.serialize(SerializationAdapter<O> adapter,
O output,
RemoteCommand<?> command,
Version backwardCompatibilityVersion,
Scope scope) |
static Map<String,Object> |
RemoteCommand.toJsonCompatibleSnapshot(RemoteCommand<?> command,
Version backwardCompatibilityVersion,
Scope scope) |
| Modifier and Type | Method and Description |
|---|---|
static Scope |
Scope.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Scope[] |
Scope.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
<O> void |
SerializationHandle.serialize(SerializationAdapter<O> adapter,
O output,
T serializableObject,
Version backwardCompatibilityVersion,
Scope scope) |
Map<String,Object> |
SerializationHandle.toJsonCompatibleSnapshot(T serializableObject,
Version backwardCompatibilityVersion,
Scope scope) |
Copyright © 2024. All rights reserved.