Uses of Enum Class
io.github.bucket4j.distributed.proxy.RecoveryStrategy
Packages that use RecoveryStrategy
-
Uses of RecoveryStrategy in io.github.bucket4j.distributed.proxy
Methods in io.github.bucket4j.distributed.proxy that return RecoveryStrategyModifier and TypeMethodDescriptionstatic RecoveryStrategyReturns the enum constant of this class with the specified name.static RecoveryStrategy[]RecoveryStrategy.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in io.github.bucket4j.distributed.proxy with parameters of type RecoveryStrategyModifier and TypeMethodDescriptionAbstractProxyManagerBuilder.defaultRecoveryStrategy(RecoveryStrategy recoveryStrategy) Configures custom recovery strategy at proxy-manager level, this strategy will be used for buckets in case of it will not be specified during bucket build time.RemoteAsyncBucketBuilder.withRecoveryStrategy(RecoveryStrategy recoveryStrategy) Configures custom recovery strategy instead ofRECONSTRUCTthat is used by default.RemoteAsyncBucketBuilderView.withRecoveryStrategy(RecoveryStrategy recoveryStrategy) RemoteBucketBuilder.withRecoveryStrategy(RecoveryStrategy recoveryStrategy) Configures custom recovery strategy instead ofRECONSTRUCTthat is used by default.RemoteBucketBuilderView.withRecoveryStrategy(RecoveryStrategy recoveryStrategy) Constructors in io.github.bucket4j.distributed.proxy with parameters of type RecoveryStrategyModifierConstructorDescriptionprotectedClientSideConfig(Version backwardCompatibilityVersion, Optional<TimeMeter> clientSideClock, ExecutionStrategy executionStrategy, Optional<Long> requestTimeoutNanos, Optional<ExpirationAfterWriteStrategy> expirationStrategy, BucketListener defaultListener, RecoveryStrategy defaultRecoveryStrategy) DefaultAsyncBucketProxy(AsyncCommandExecutor commandExecutor, RecoveryStrategy recoveryStrategy, Supplier<CompletableFuture<BucketConfiguration>> configurationSupplier, ImplicitConfigurationReplacement implicitConfigurationReplacement, BucketListener listener) DefaultBucketProxy(Supplier<BucketConfiguration> configurationSupplier, CommandExecutor commandExecutor, RecoveryStrategy recoveryStrategy, ImplicitConfigurationReplacement implicitConfigurationReplacement, BucketListener listener)