| Package | Description |
|---|---|
| io.github.bucket4j.distributed.proxy |
| Modifier and Type | Method and Description |
|---|---|
RemoteBucketBuilder<K> |
AbstractProxyManager.builder() |
RemoteBucketBuilder<K> |
ProxyManager.builder() |
RemoteBucketBuilder<K> |
RemoteBucketBuilder.withImplicitConfigurationReplacement(long desiredConfigurationVersion,
TokensInheritanceStrategy tokensInheritanceStrategy)
Activates implicit configuration replacement.
|
default <K1> RemoteBucketBuilder<K1> |
RemoteBucketBuilder.withMapper(Function<? super K1,? extends K> mapper)
Returns a proxy object that wraps this RemoteBucketBuilder such that keys are first mapped using the specified mapping function
before being sent to the remote store.
|
RemoteBucketBuilder<K> |
RemoteBucketBuilder.withOptimization(Optimization optimization)
Configures the optimization strategy that will be applied for buckets that are built by this builder.
|
RemoteBucketBuilder<K> |
RemoteBucketBuilder.withRecoveryStrategy(RecoveryStrategy recoveryStrategy)
Configures custom recovery strategy instead of
RecoveryStrategy.RECONSTRUCT that is used by default. |
Copyright © 2024. All rights reserved.