public class RedissonClusterConnection extends AbstractRedissonConnection implements RedisConnection
EMPTY_STRING| 构造器和说明 |
|---|
RedissonClusterConnection(org.redisson.api.RedissonClient client) |
RedissonClusterConnection(org.redisson.api.RedissonClient client,
BatchOptions options) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
byte[] |
del(byte[] key) |
byte[] |
get(byte[] key) |
protected org.redisson.command.CommandExecutor |
getCommandExecutor() |
protected ExecutorService |
getExecutor()
可自由定制
|
boolean |
isClusterConnection() |
Set<byte[]> |
keys(byte[] pattern) |
Long |
mdel(byte[]... keys) |
List<byte[]> |
mget(byte[]... keys) |
byte[] |
set(byte[] key,
byte[] value,
Duration expired) |
scanKeys, scanKeysOnDbbatchDeleteOnCluster, batchDeleteOnStandalone, batchGetOnCluster, batchGetOnStandalone, defaultExecutor, distributionScanKeys, getClassifiedKeys, parseServerVersionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsizepublic RedissonClusterConnection(org.redisson.api.RedissonClient client)
public RedissonClusterConnection(org.redisson.api.RedissonClient client,
BatchOptions options)
protected org.redisson.command.CommandExecutor getCommandExecutor()
public byte[] get(byte[] key)
get 在接口中 RedisCacheCommandspublic byte[] set(byte[] key,
byte[] value,
Duration expired)
set 在接口中 RedisCacheCommandspublic Long mdel(byte[]... keys)
mdel 在接口中 RedisCacheCommandspublic List<byte[]> mget(byte[]... keys)
mget 在接口中 RedisCacheCommandspublic byte[] del(byte[] key)
del 在接口中 RedisCacheCommandspublic Set<byte[]> keys(byte[] pattern)
keys 在接口中 RedisCacheCommandsprotected ExecutorService getExecutor()
AbstractRedisConnectiongetExecutor 在类中 AbstractRedisConnectionpublic boolean isClusterConnection()
isClusterConnection 在接口中 RedisConnectionpublic void close()
close 在接口中 RedisConnectionCopyright © 2021. All rights reserved.