Module io.github.bucket4j.redisson
Class RedissonBasedProxyManager<K>
java.lang.Object
io.github.bucket4j.distributed.proxy.AbstractProxyManager<K>
io.github.bucket4j.distributed.proxy.generic.compare_and_swap.AbstractCompareAndSwapBasedProxyManager<K>
io.github.bucket4j.redis.redisson.cas.RedissonBasedProxyManager<K>
- All Implemented Interfaces:
ProxyManager<K>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionprotected AsyncCompareAndSwapOperationprotected CompareAndSwapOperationbuilderFor(org.redisson.command.CommandAsyncExecutor commandExecutor) Deprecated.io.netty.buffer.ByteBufencodeByteArray(byte[] value) booleanbooleanprotected CompletableFuture<Void>removeAsync(K key) voidremoveProxy(K key) Methods inherited from class io.github.bucket4j.distributed.proxy.generic.compare_and_swap.AbstractCompareAndSwapBasedProxyManager
execute, executeAsyncMethods inherited from class io.github.bucket4j.distributed.proxy.AbstractProxyManager
asAsync, builder, currentTimeNanos, getBackwardCompatibilityVersion, getClientSideConfig, getClientSideTime, getProxyConfigurationMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.github.bucket4j.distributed.proxy.ProxyManager
getProxy, withMapper
-
Field Details
-
SET
-
-
Constructor Details
-
RedissonBasedProxyManager
-
-
Method Details
-
builderFor
@Deprecated public static RedissonBasedProxyManager.RedissonBasedProxyManagerBuilder<String> builderFor(org.redisson.command.CommandAsyncExecutor commandExecutor) Deprecated. -
isExpireAfterWriteSupported
public boolean isExpireAfterWriteSupported() -
beginCompareAndSwapOperation
- Specified by:
beginCompareAndSwapOperationin classAbstractCompareAndSwapBasedProxyManager<K>
-
beginAsyncCompareAndSwapOperation
- Specified by:
beginAsyncCompareAndSwapOperationin classAbstractCompareAndSwapBasedProxyManager<K>
-
removeProxy
-
removeAsync
- Specified by:
removeAsyncin classAbstractProxyManager<K>
-
isAsyncModeSupported
public boolean isAsyncModeSupported() -
encodeByteArray
public io.netty.buffer.ByteBuf encodeByteArray(byte[] value)
-
Bucket4jRedisson.casBasedBuilder(CommandAsyncExecutor)