Uses of Interface
io.github.bucket4j.distributed.AsyncBucketProxy
-
Packages that use AsyncBucketProxy Package Description io.github.bucket4j.distributed io.github.bucket4j.distributed.proxy -
-
Uses of AsyncBucketProxy in io.github.bucket4j.distributed
Classes in io.github.bucket4j.distributed that implement AsyncBucketProxy Modifier and Type Class Description classAsyncBucketProxyAdapterMethods in io.github.bucket4j.distributed that return AsyncBucketProxy Modifier and Type Method Description static AsyncBucketProxyAsyncBucketProxyAdapter. fromSync(Bucket bucket)TODOAsyncBucketProxyAsyncBucketProxy. toListenable(BucketListener listener)Returns new copy of this bucket instance decorated bylistener.AsyncBucketProxyAsyncBucketProxyAdapter. toListenable(BucketListener listener) -
Uses of AsyncBucketProxy in io.github.bucket4j.distributed.proxy
Classes in io.github.bucket4j.distributed.proxy that implement AsyncBucketProxy Modifier and Type Class Description classDefaultAsyncBucketProxyMethods in io.github.bucket4j.distributed.proxy that return AsyncBucketProxy Modifier and Type Method Description AsyncBucketProxyRemoteAsyncBucketBuilder. build(K key, BucketConfiguration configuration)Builds theAsyncBucketProxy.AsyncBucketProxyRemoteAsyncBucketBuilder. 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.AsyncBucketProxyDefaultAsyncBucketProxy. toListenable(BucketListener listener)
-