Uses of Interface
io.github.bucket4j.distributed.AsyncBucketProxy
Packages that use AsyncBucketProxy
-
Uses of AsyncBucketProxy in io.github.bucket4j.distributed
Classes in io.github.bucket4j.distributed that implement AsyncBucketProxyMethods in io.github.bucket4j.distributed that return AsyncBucketProxyModifier and TypeMethodDescriptionstatic AsyncBucketProxyTODOAsyncBucketProxy.toListenable(BucketListener listener) Returns new copy of this bucket instance decorated bylistener.AsyncBucketProxyAdapter.toListenable(BucketListener listener) -
Uses of AsyncBucketProxy in io.github.bucket4j.distributed.proxy
Classes in io.github.bucket4j.distributed.proxy that implement AsyncBucketProxyMethods in io.github.bucket4j.distributed.proxy that return AsyncBucketProxyModifier and TypeMethodDescriptionRemoteAsyncBucketBuilder.build(K key, BucketConfiguration configuration) Deprecated.RemoteAsyncBucketBuilder.build(K key, Supplier<CompletableFuture<BucketConfiguration>> configurationSupplier) Has the same semantic withRemoteAsyncBucketBuilder.build(Object, BucketConfiguration), but additionally provides ability to provide configuration lazily, that can be helpful when figuring-out the right configuration parameters is costly, for example because parameters for particularkeyare stored in external database,configurationSupplierwill be called if and only if bucket has not been persisted before.RemoteAsyncBucketBuilderView.build(K key, BucketConfiguration configuration) RemoteAsyncBucketBuilderView.build(K key, Supplier<CompletableFuture<BucketConfiguration>> configurationSupplier) default AsyncBucketProxyAsyncProxyManager.getProxy(K key, Supplier<CompletableFuture<BucketConfiguration>> configurationSupplier) Creates bucket-proxy that configured by default parameters that set on proxy-manager level.AsyncProxyManagerView.getProxy(K key, Supplier<CompletableFuture<BucketConfiguration>> configurationSupplier) DefaultAsyncBucketProxy.toListenable(BucketListener listener)
RemoteAsyncBucketBuilder.build(Object, Supplier)instead.