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