public class RedissonBasedProxyManager extends AbstractCompareAndSwapBasedProxyManager<String>
| Modifier and Type | Field and Description |
|---|---|
static org.redisson.client.protocol.RedisCommand<Boolean> |
SETPXNX_WORK_ARROUND |
| Constructor and Description |
|---|
RedissonBasedProxyManager(org.redisson.command.CommandExecutor commandExecutor,
ClientSideConfig clientSideConfig,
Duration ttl) |
RedissonBasedProxyManager(org.redisson.command.CommandExecutor commandExecutor,
Duration ttl) |
| Modifier and Type | Method and Description |
|---|---|
protected AsyncCompareAndSwapOperation |
beginAsyncCompareAndSwapOperation(String key) |
protected CompareAndSwapOperation |
beginCompareAndSwapOperation(String key) |
io.netty.buffer.ByteBuf |
encodeByteArray(byte[] value) |
boolean |
isAsyncModeSupported() |
protected CompletableFuture<Void> |
removeAsync(String key) |
void |
removeProxy(String key) |
execute, executeAsyncasAsync, builder, getBackwardCompatibilityVersion, getClientSideConfig, getClientSideTime, getProxyConfigurationpublic static org.redisson.client.protocol.RedisCommand<Boolean> SETPXNX_WORK_ARROUND
public RedissonBasedProxyManager(org.redisson.command.CommandExecutor commandExecutor,
Duration ttl)
public RedissonBasedProxyManager(org.redisson.command.CommandExecutor commandExecutor,
ClientSideConfig clientSideConfig,
Duration ttl)
protected CompareAndSwapOperation beginCompareAndSwapOperation(String key)
beginCompareAndSwapOperation in class AbstractCompareAndSwapBasedProxyManager<String>protected AsyncCompareAndSwapOperation beginAsyncCompareAndSwapOperation(String key)
beginAsyncCompareAndSwapOperation in class AbstractCompareAndSwapBasedProxyManager<String>public void removeProxy(String key)
protected CompletableFuture<Void> removeAsync(String key)
removeAsync in class AbstractProxyManager<String>public boolean isAsyncModeSupported()
public io.netty.buffer.ByteBuf encodeByteArray(byte[] value)
Copyright © 2022. All rights reserved.