Uses of Interface
io.github.bucket4j.distributed.proxy.RemoteBucketBuilder
Packages that use RemoteBucketBuilder
-
Uses of RemoteBucketBuilder in io.github.bucket4j.distributed.proxy
Classes in io.github.bucket4j.distributed.proxy that implement RemoteBucketBuilderMethods in io.github.bucket4j.distributed.proxy that return RemoteBucketBuilderModifier and TypeMethodDescription<K> RemoteBucketBuilder<K>ClientSideConfig.apply(io.github.bucket4j.distributed.proxy.AbstractProxyManager.DefaultRemoteBucketBuilder builder) AbstractProxyManager.builder()ProxyManager.builder()Creates new instance ofRemoteBucketBuilder.ProxyManagerView.builder()RemoteBucketBuilder.withImplicitConfigurationReplacement(long desiredConfigurationVersion, TokensInheritanceStrategy tokensInheritanceStrategy) Activates implicit configuration replacement.RemoteBucketBuilderView.withImplicitConfigurationReplacement(long desiredConfigurationVersion, TokensInheritanceStrategy tokensInheritanceStrategy) RemoteBucketBuilder.withListener(BucketListener listener) Specifieslistenerfor buckets that will be created by this builder.RemoteBucketBuilderView.withListener(BucketListener listener) 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.<K2> RemoteBucketBuilder<K2>RemoteBucketBuilderView.withMapper(Function<? super K2, ? extends K> innerMapper) RemoteBucketBuilder.withOptimization(Optimization optimization) Configures the optimization strategy that will be applied for buckets that are built by this builder.RemoteBucketBuilderView.withOptimization(Optimization optimization) RemoteBucketBuilder.withRecoveryStrategy(RecoveryStrategy recoveryStrategy) Configures custom recovery strategy instead ofRecoveryStrategy.RECONSTRUCTthat is used by default.RemoteBucketBuilderView.withRecoveryStrategy(RecoveryStrategy recoveryStrategy) Constructors in io.github.bucket4j.distributed.proxy with parameters of type RemoteBucketBuilderModifierConstructorDescriptionRemoteBucketBuilderView(RemoteBucketBuilder<KeyOld> target, Function<K, KeyOld> mapper)