| Package | Description |
|---|---|
| io.github.bucket4j.distributed.proxy |
| Modifier and Type | Method and Description |
|---|---|
static RecoveryStrategy |
RecoveryStrategy.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RecoveryStrategy[] |
RecoveryStrategy.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
RemoteBucketBuilder<K> |
RemoteBucketBuilder.withRecoveryStrategy(RecoveryStrategy recoveryStrategy)
Configures custom recovery strategy instead of
RECONSTRUCT that is used by default. |
RemoteAsyncBucketBuilder<K> |
RemoteAsyncBucketBuilder.withRecoveryStrategy(RecoveryStrategy recoveryStrategy)
Configures custom recovery strategy instead of
RECONSTRUCT that is used by default. |
| Constructor and Description |
|---|
DefaultAsyncBucketProxy(AsyncCommandExecutor commandExecutor,
RecoveryStrategy recoveryStrategy,
Supplier<CompletableFuture<BucketConfiguration>> configurationSupplier,
ImplicitConfigurationReplacement implicitConfigurationReplacement) |
DefaultBucketProxy(Supplier<BucketConfiguration> configurationSupplier,
CommandExecutor commandExecutor,
RecoveryStrategy recoveryStrategy,
ImplicitConfigurationReplacement implicitConfigurationReplacement) |
Copyright © 2024. All rights reserved.