Class RedissonClusterConnection
- java.lang.Object
-
- org.springframework.data.redis.connection.AbstractRedisConnection
-
- org.redisson.spring.data.connection.RedissonConnection
-
- org.redisson.spring.data.connection.RedissonClusterConnection
-
- All Implemented Interfaces:
AutoCloseable
,org.springframework.data.redis.connection.DefaultedRedisClusterConnection
,org.springframework.data.redis.connection.DefaultedRedisConnection
,org.springframework.data.redis.connection.RedisClusterCommands
,org.springframework.data.redis.connection.RedisClusterConnection
,org.springframework.data.redis.connection.RedisClusterServerCommands
,org.springframework.data.redis.connection.RedisCommands
,org.springframework.data.redis.connection.RedisConnection
,org.springframework.data.redis.connection.RedisConnectionCommands
,org.springframework.data.redis.connection.RedisGeoCommands
,org.springframework.data.redis.connection.RedisHashCommands
,org.springframework.data.redis.connection.RedisHyperLogLogCommands
,org.springframework.data.redis.connection.RedisKeyCommands
,org.springframework.data.redis.connection.RedisListCommands
,org.springframework.data.redis.connection.RedisPubSubCommands
,org.springframework.data.redis.connection.RedisScriptingCommands
,org.springframework.data.redis.connection.RedisServerCommands
,org.springframework.data.redis.connection.RedisSetCommands
,org.springframework.data.redis.connection.RedisStreamCommands
,org.springframework.data.redis.connection.RedisStringCommands
,org.springframework.data.redis.connection.RedisTxCommands
,org.springframework.data.redis.connection.RedisZSetCommands
public class RedissonClusterConnection extends RedissonConnection implements org.springframework.data.redis.connection.DefaultedRedisClusterConnection
- Author:
- Nikita Koksharov
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.springframework.data.redis.connection.RedisClusterCommands
org.springframework.data.redis.connection.RedisClusterCommands.AddSlots
-
Nested classes/interfaces inherited from interface org.springframework.data.redis.connection.RedisGeoCommands
org.springframework.data.redis.connection.RedisGeoCommands.DistanceUnit, org.springframework.data.redis.connection.RedisGeoCommands.GeoLocation<T extends Object>, org.springframework.data.redis.connection.RedisGeoCommands.GeoRadiusCommandArgs
-
Nested classes/interfaces inherited from interface org.springframework.data.redis.connection.RedisListCommands
org.springframework.data.redis.connection.RedisListCommands.Position
-
Nested classes/interfaces inherited from interface org.springframework.data.redis.connection.RedisServerCommands
org.springframework.data.redis.connection.RedisServerCommands.MigrateOption, org.springframework.data.redis.connection.RedisServerCommands.ShutdownOption
-
Nested classes/interfaces inherited from interface org.springframework.data.redis.connection.RedisStreamCommands
org.springframework.data.redis.connection.RedisStreamCommands.XAddOptions, org.springframework.data.redis.connection.RedisStreamCommands.XClaimOptions, org.springframework.data.redis.connection.RedisStreamCommands.XPendingOptions
-
Nested classes/interfaces inherited from interface org.springframework.data.redis.connection.RedisStringCommands
org.springframework.data.redis.connection.RedisStringCommands.BitOperation, org.springframework.data.redis.connection.RedisStringCommands.SetOption
-
Nested classes/interfaces inherited from interface org.springframework.data.redis.connection.RedisZSetCommands
org.springframework.data.redis.connection.RedisZSetCommands.Aggregate, org.springframework.data.redis.connection.RedisZSetCommands.Limit, org.springframework.data.redis.connection.RedisZSetCommands.Range, org.springframework.data.redis.connection.RedisZSetCommands.Tuple, org.springframework.data.redis.connection.RedisZSetCommands.Weights, org.springframework.data.redis.connection.RedisZSetCommands.ZAddArgs
-
-
Field Summary
-
Fields inherited from class org.redisson.spring.data.connection.RedissonConnection
redisson
-
-
Constructor Summary
Constructors Constructor Description RedissonClusterConnection(RedissonClient redisson)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
bgReWriteAof(org.springframework.data.redis.connection.RedisClusterNode node)
void
bgSave(org.springframework.data.redis.connection.RedisClusterNode node)
void
clusterAddSlots(org.springframework.data.redis.connection.RedisClusterNode node, int... slots)
void
clusterAddSlots(org.springframework.data.redis.connection.RedisClusterNode node, org.springframework.data.redis.connection.RedisClusterNode.SlotRange range)
Long
clusterCountKeysInSlot(int slot)
void
clusterDeleteSlots(org.springframework.data.redis.connection.RedisClusterNode node, int... slots)
void
clusterDeleteSlotsInRange(org.springframework.data.redis.connection.RedisClusterNode node, org.springframework.data.redis.connection.RedisClusterNode.SlotRange range)
void
clusterForget(org.springframework.data.redis.connection.RedisClusterNode node)
org.springframework.data.redis.connection.ClusterInfo
clusterGetClusterInfo()
List<byte[]>
clusterGetKeysInSlot(int slot, Integer count)
Map<org.springframework.data.redis.connection.RedisClusterNode,Collection<org.springframework.data.redis.connection.RedisClusterNode>>
clusterGetMasterSlaveMap()
org.springframework.data.redis.connection.RedisClusterNode
clusterGetNodeForKey(byte[] key)
org.springframework.data.redis.connection.RedisClusterNode
clusterGetNodeForSlot(int slot)
Iterable<org.springframework.data.redis.connection.RedisClusterNode>
clusterGetNodes()
Collection<org.springframework.data.redis.connection.RedisClusterNode>
clusterGetSlaves(org.springframework.data.redis.connection.RedisClusterNode master)
Integer
clusterGetSlotForKey(byte[] key)
void
clusterMeet(org.springframework.data.redis.connection.RedisClusterNode node)
void
clusterReplicate(org.springframework.data.redis.connection.RedisClusterNode master, org.springframework.data.redis.connection.RedisClusterNode slave)
void
clusterSetSlot(org.springframework.data.redis.connection.RedisClusterNode node, int slot, org.springframework.data.redis.connection.RedisClusterCommands.AddSlots mode)
protected List<Integer>
convert(int... slots)
Long
dbSize(org.springframework.data.redis.connection.RedisClusterNode node)
Long
del(byte[]... keys)
void
flushAll(org.springframework.data.redis.connection.RedisClusterNode node)
void
flushDb(org.springframework.data.redis.connection.RedisClusterNode node)
List<org.springframework.data.redis.core.types.RedisClientInfo>
getClientList(org.springframework.data.redis.connection.RedisClusterNode node)
Properties
getConfig(org.springframework.data.redis.connection.RedisClusterNode node, String pattern)
protected MasterSlaveEntry
getEntry(org.springframework.data.redis.connection.RedisClusterNode node)
Properties
info(org.springframework.data.redis.connection.RedisClusterNode node)
Properties
info(org.springframework.data.redis.connection.RedisClusterNode node, String section)
Set<byte[]>
keys(org.springframework.data.redis.connection.RedisClusterNode node, byte[] pattern)
Long
lastSave(org.springframework.data.redis.connection.RedisClusterNode node)
List<byte[]>
mGet(byte[]... keys)
Boolean
mSet(Map<byte[],byte[]> tuple)
String
ping(org.springframework.data.redis.connection.RedisClusterNode node)
byte[]
randomKey(org.springframework.data.redis.connection.RedisClusterNode node)
void
rename(byte[] oldName, byte[] newName)
Boolean
renameNX(byte[] oldName, byte[] newName)
void
resetConfigStats(org.springframework.data.redis.connection.RedisClusterNode node)
void
save(org.springframework.data.redis.connection.RedisClusterNode node)
org.springframework.data.redis.core.Cursor<byte[]>
scan(org.springframework.data.redis.connection.RedisClusterNode node, org.springframework.data.redis.core.ScanOptions options)
void
setConfig(org.springframework.data.redis.connection.RedisClusterNode node, String param, String value)
void
shutdown(org.springframework.data.redis.connection.RedisClusterNode node)
Long
time(org.springframework.data.redis.connection.RedisClusterNode node)
-
Methods inherited from class org.redisson.spring.data.connection.RedissonConnection
append, bgReWriteAof, bgSave, bgWriteAof, bitCount, bitCount, bitField, bitOp, bitPos, bLPop, bRPop, bRPopLPush, close, closePipeline, convert, dbSize, decr, decrBy, discard, dump, echo, encodingOf, eval, evalSha, evalSha, exec, execute, exists, exists, expire, expireAt, filterResults, flushAll, flushDb, geoAdd, geoAdd, geoAdd, geoAdd, geoDist, geoDist, geoHash, geoPos, geoRadius, geoRadius, geoRadiusByMember, geoRadiusByMember, geoRadiusByMember, geoRemove, get, getBit, getClientList, getClientName, getConfig, getNativeConnection, getRange, getSet, getSubscription, hDel, hExists, hGet, hGetAll, hIncrBy, hIncrBy, hKeys, hLen, hMGet, hMSet, hScan, hSet, hSetNX, hStrLen, hVals, idletime, incr, incrBy, incrBy, indexCommand, info, info, isClosed, isPipelined, isPipelinedAtomic, isQueueing, isSubscribed, keys, killClient, lastSave, lIndex, lInsert, lLen, lPop, lPos, lPush, lPushX, lRange, lRem, lSet, lTrim, migrate, migrate, move, mSetNX, multi, openPipeline, persist, pExpire, pExpireAt, pfAdd, pfCount, pfMerge, ping, pSetEx, pSubscribe, pTtl, pTtl, publish, randomKey, refcount, resetConfigStats, resetConnection, restore, restore, rPop, rPopLPush, rPush, rPushX, sAdd, save, scan, sCard, scriptExists, scriptFlush, scriptKill, scriptLoad, sDiff, sDiffStore, select, set, set, setBit, setClientName, setConfig, setEx, setNX, setRange, shutdown, shutdown, sInter, sInterStore, sIsMember, slaveOf, slaveOfNoOne, sMembers, sMove, sort, sort, sPop, sPop, sRandMember, sRandMember, sRem, sScan, streamCommands, strLen, subscribe, sUnion, sUnionStore, sync, time, toCommand, touch, transform, ttl, ttl, type, unlink, unwatch, watch, zAdd, zAdd, zCard, zCount, zCount, zIncrBy, zInterStore, zInterStore, zRange, zRangeByLex, zRangeByLex, zRangeByLex, zRangeByScore, zRangeByScore, zRangeByScore, zRangeByScore, zRangeByScore, zRangeByScore, zRangeByScoreWithScores, zRangeByScoreWithScores, zRangeByScoreWithScores, zRangeByScoreWithScores, zRangeWithScores, zRank, zRem, zRemRange, zRemRangeByScore, zRemRangeByScore, zRevRange, zRevRangeByScore, zRevRangeByScore, zRevRangeByScore, zRevRangeByScore, zRevRangeByScoreWithScores, zRevRangeByScoreWithScores, zRevRangeByScoreWithScores, zRevRangeByScoreWithScores, zRevRangeWithScores, zRevRank, zScan, zScore, zUnionStore, zUnionStore
-
Methods inherited from class org.springframework.data.redis.connection.AbstractRedisConnection
getSentinelConnection, getSentinelConnection, hasRedisSentinelConfigured, isActive, setSentinelConfiguration
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.springframework.data.redis.connection.DefaultedRedisClusterConnection
execute, rewriteConfig, time
-
Methods inherited from interface org.springframework.data.redis.connection.DefaultedRedisConnection
append, bgReWriteAof, bgSave, bgWriteAof, bitCount, bitCount, bitField, bitOp, bitPos, bLPop, bRPop, bRPopLPush, dbSize, decr, decrBy, dump, encodingOf, eval, evalSha, evalSha, exists, exists, expire, expireAt, flushAll, flushDb, geoAdd, geoAdd, geoAdd, geoDist, geoDist, geoHash, geoPos, geoRadius, geoRadius, geoRadiusByMember, geoRadiusByMember, geoRemove, get, getBit, getClientList, getClientName, getConfig, getRange, getSet, hDel, hExists, hGet, hGetAll, hIncrBy, hIncrBy, hKeys, hLen, hMGet, hMSet, hScan, hSet, hSetNX, hStrLen, hVals, idletime, incr, incrBy, incrBy, info, info, keys, killClient, lastSave, lIndex, lInsert, lLen, lPop, lPos, lPush, lPushX, lRange, lRem, lSet, lTrim, migrate, migrate, move, mSetNX, persist, pExpire, pExpireAt, pfAdd, pfCount, pfMerge, pSetEx, pTtl, pTtl, randomKey, refcount, resetConfigStats, restore, rewriteConfig, rPop, rPopLPush, rPush, rPushX, sAdd, save, scan, sCard, scriptExists, scriptFlush, scriptKill, scriptLoad, sDiff, sDiffStore, set, set, setBit, setClientName, setConfig, setEx, setNX, setRange, shutdown, shutdown, sInter, sInterStore, sIsMember, slaveOf, slaveOfNoOne, sMembers, sMove, sort, sort, sPop, sPop, sRandMember, sRandMember, sRem, sScan, strLen, sUnion, sUnionStore, time, time, touch, ttl, ttl, type, unlink, xAck, xAdd, xClaim, xClaimJustId, xDel, xGroupCreate, xGroupCreate, xGroupDelConsumer, xGroupDestroy, xInfo, xInfoConsumers, xInfoGroups, xLen, xPending, xPending, xRange, xRange, xRead, xRead, xReadGroup, xReadGroup, xRevRange, xRevRange, xTrim, xTrim, zAdd, zAdd, zCard, zCount, zCount, zIncrBy, zInterStore, zInterStore, zInterStore, zLexCount, zRange, zRangeByLex, zRangeByScore, zRangeByScore, zRangeByScore, zRangeByScoreWithScores, zRangeWithScores, zRank, zRem, zRemRange, zRemRangeByLex, zRemRangeByScore, zRemRangeByScore, zRevRange, zRevRangeByLex, zRevRangeByScore, zRevRangeByScoreWithScores, zRevRangeWithScores, zRevRank, zScan, zScore, zUnionStore, zUnionStore, zUnionStore
-
Methods inherited from interface org.springframework.data.redis.connection.RedisClusterConnection
serverCommands
-
Methods inherited from interface org.springframework.data.redis.connection.RedisConnection
close, closePipeline, geoCommands, getNativeConnection, getSentinelConnection, hashCommands, hyperLogLogCommands, isClosed, isPipelined, isQueueing, keyCommands, listCommands, openPipeline, scriptingCommands, setCommands, streamCommands, stringCommands, zSetCommands
-
Methods inherited from interface org.springframework.data.redis.connection.RedisConnectionCommands
echo, ping, select
-
Methods inherited from interface org.springframework.data.redis.connection.RedisGeoCommands
geoAdd, geoRadiusByMember
-
Methods inherited from interface org.springframework.data.redis.connection.RedisPubSubCommands
getSubscription, isSubscribed, pSubscribe, publish, subscribe
-
Methods inherited from interface org.springframework.data.redis.connection.RedisStreamCommands
xAck, xAdd, xAdd, xClaim, xDel, xGroupDelConsumer, xPending, xPending, xPending, xPending, xPending
-
Methods inherited from interface org.springframework.data.redis.connection.RedisStringCommands
bitPos
-
Methods inherited from interface org.springframework.data.redis.connection.RedisTxCommands
discard, exec, multi, unwatch, watch
-
Methods inherited from interface org.springframework.data.redis.connection.RedisZSetCommands
zAdd, zAdd, zRangeByLex, zRangeByLex, zRangeByScore, zRangeByScore, zRangeByScore, zRangeByScoreWithScores, zRangeByScoreWithScores, zRangeByScoreWithScores, zRevRangeByLex, zRevRangeByLex, zRevRangeByScore, zRevRangeByScore, zRevRangeByScore, zRevRangeByScoreWithScores, zRevRangeByScoreWithScores, zRevRangeByScoreWithScores
-
-
-
-
Constructor Detail
-
RedissonClusterConnection
public RedissonClusterConnection(RedissonClient redisson)
-
-
Method Detail
-
clusterGetNodes
public Iterable<org.springframework.data.redis.connection.RedisClusterNode> clusterGetNodes()
- Specified by:
clusterGetNodes
in interfaceorg.springframework.data.redis.connection.RedisClusterCommands
-
clusterGetSlaves
public Collection<org.springframework.data.redis.connection.RedisClusterNode> clusterGetSlaves(org.springframework.data.redis.connection.RedisClusterNode master)
- Specified by:
clusterGetSlaves
in interfaceorg.springframework.data.redis.connection.RedisClusterCommands
-
clusterGetMasterSlaveMap
public Map<org.springframework.data.redis.connection.RedisClusterNode,Collection<org.springframework.data.redis.connection.RedisClusterNode>> clusterGetMasterSlaveMap()
- Specified by:
clusterGetMasterSlaveMap
in interfaceorg.springframework.data.redis.connection.RedisClusterCommands
-
clusterGetSlotForKey
public Integer clusterGetSlotForKey(byte[] key)
- Specified by:
clusterGetSlotForKey
in interfaceorg.springframework.data.redis.connection.RedisClusterCommands
-
clusterGetNodeForSlot
public org.springframework.data.redis.connection.RedisClusterNode clusterGetNodeForSlot(int slot)
- Specified by:
clusterGetNodeForSlot
in interfaceorg.springframework.data.redis.connection.RedisClusterCommands
-
clusterGetNodeForKey
public org.springframework.data.redis.connection.RedisClusterNode clusterGetNodeForKey(byte[] key)
- Specified by:
clusterGetNodeForKey
in interfaceorg.springframework.data.redis.connection.RedisClusterCommands
-
clusterGetClusterInfo
public org.springframework.data.redis.connection.ClusterInfo clusterGetClusterInfo()
- Specified by:
clusterGetClusterInfo
in interfaceorg.springframework.data.redis.connection.RedisClusterCommands
-
clusterAddSlots
public void clusterAddSlots(org.springframework.data.redis.connection.RedisClusterNode node, int... slots)
- Specified by:
clusterAddSlots
in interfaceorg.springframework.data.redis.connection.RedisClusterCommands
-
clusterAddSlots
public void clusterAddSlots(org.springframework.data.redis.connection.RedisClusterNode node, org.springframework.data.redis.connection.RedisClusterNode.SlotRange range)
- Specified by:
clusterAddSlots
in interfaceorg.springframework.data.redis.connection.RedisClusterCommands
-
clusterCountKeysInSlot
public Long clusterCountKeysInSlot(int slot)
- Specified by:
clusterCountKeysInSlot
in interfaceorg.springframework.data.redis.connection.RedisClusterCommands
-
clusterDeleteSlots
public void clusterDeleteSlots(org.springframework.data.redis.connection.RedisClusterNode node, int... slots)
- Specified by:
clusterDeleteSlots
in interfaceorg.springframework.data.redis.connection.RedisClusterCommands
-
clusterDeleteSlotsInRange
public void clusterDeleteSlotsInRange(org.springframework.data.redis.connection.RedisClusterNode node, org.springframework.data.redis.connection.RedisClusterNode.SlotRange range)
- Specified by:
clusterDeleteSlotsInRange
in interfaceorg.springframework.data.redis.connection.RedisClusterCommands
-
clusterForget
public void clusterForget(org.springframework.data.redis.connection.RedisClusterNode node)
- Specified by:
clusterForget
in interfaceorg.springframework.data.redis.connection.RedisClusterCommands
-
clusterMeet
public void clusterMeet(org.springframework.data.redis.connection.RedisClusterNode node)
- Specified by:
clusterMeet
in interfaceorg.springframework.data.redis.connection.RedisClusterCommands
-
clusterSetSlot
public void clusterSetSlot(org.springframework.data.redis.connection.RedisClusterNode node, int slot, org.springframework.data.redis.connection.RedisClusterCommands.AddSlots mode)
- Specified by:
clusterSetSlot
in interfaceorg.springframework.data.redis.connection.RedisClusterCommands
-
clusterGetKeysInSlot
public List<byte[]> clusterGetKeysInSlot(int slot, Integer count)
- Specified by:
clusterGetKeysInSlot
in interfaceorg.springframework.data.redis.connection.RedisClusterCommands
-
clusterReplicate
public void clusterReplicate(org.springframework.data.redis.connection.RedisClusterNode master, org.springframework.data.redis.connection.RedisClusterNode slave)
- Specified by:
clusterReplicate
in interfaceorg.springframework.data.redis.connection.RedisClusterCommands
-
ping
public String ping(org.springframework.data.redis.connection.RedisClusterNode node)
- Specified by:
ping
in interfaceorg.springframework.data.redis.connection.RedisClusterConnection
-
bgReWriteAof
public void bgReWriteAof(org.springframework.data.redis.connection.RedisClusterNode node)
- Specified by:
bgReWriteAof
in interfaceorg.springframework.data.redis.connection.DefaultedRedisClusterConnection
- Specified by:
bgReWriteAof
in interfaceorg.springframework.data.redis.connection.RedisClusterServerCommands
-
bgSave
public void bgSave(org.springframework.data.redis.connection.RedisClusterNode node)
- Specified by:
bgSave
in interfaceorg.springframework.data.redis.connection.DefaultedRedisClusterConnection
- Specified by:
bgSave
in interfaceorg.springframework.data.redis.connection.RedisClusterServerCommands
-
lastSave
public Long lastSave(org.springframework.data.redis.connection.RedisClusterNode node)
- Specified by:
lastSave
in interfaceorg.springframework.data.redis.connection.DefaultedRedisClusterConnection
- Specified by:
lastSave
in interfaceorg.springframework.data.redis.connection.RedisClusterServerCommands
-
save
public void save(org.springframework.data.redis.connection.RedisClusterNode node)
- Specified by:
save
in interfaceorg.springframework.data.redis.connection.DefaultedRedisClusterConnection
- Specified by:
save
in interfaceorg.springframework.data.redis.connection.RedisClusterServerCommands
-
dbSize
public Long dbSize(org.springframework.data.redis.connection.RedisClusterNode node)
- Specified by:
dbSize
in interfaceorg.springframework.data.redis.connection.DefaultedRedisClusterConnection
- Specified by:
dbSize
in interfaceorg.springframework.data.redis.connection.RedisClusterServerCommands
-
getEntry
protected MasterSlaveEntry getEntry(org.springframework.data.redis.connection.RedisClusterNode node)
-
flushDb
public void flushDb(org.springframework.data.redis.connection.RedisClusterNode node)
- Specified by:
flushDb
in interfaceorg.springframework.data.redis.connection.DefaultedRedisClusterConnection
- Specified by:
flushDb
in interfaceorg.springframework.data.redis.connection.RedisClusterServerCommands
-
flushAll
public void flushAll(org.springframework.data.redis.connection.RedisClusterNode node)
- Specified by:
flushAll
in interfaceorg.springframework.data.redis.connection.DefaultedRedisClusterConnection
- Specified by:
flushAll
in interfaceorg.springframework.data.redis.connection.RedisClusterServerCommands
-
info
public Properties info(org.springframework.data.redis.connection.RedisClusterNode node)
- Specified by:
info
in interfaceorg.springframework.data.redis.connection.DefaultedRedisClusterConnection
- Specified by:
info
in interfaceorg.springframework.data.redis.connection.RedisClusterServerCommands
-
info
public Properties info(org.springframework.data.redis.connection.RedisClusterNode node, String section)
- Specified by:
info
in interfaceorg.springframework.data.redis.connection.DefaultedRedisClusterConnection
- Specified by:
info
in interfaceorg.springframework.data.redis.connection.RedisClusterServerCommands
-
keys
public Set<byte[]> keys(org.springframework.data.redis.connection.RedisClusterNode node, byte[] pattern)
- Specified by:
keys
in interfaceorg.springframework.data.redis.connection.RedisClusterConnection
-
randomKey
public byte[] randomKey(org.springframework.data.redis.connection.RedisClusterNode node)
- Specified by:
randomKey
in interfaceorg.springframework.data.redis.connection.RedisClusterConnection
-
shutdown
public void shutdown(org.springframework.data.redis.connection.RedisClusterNode node)
- Specified by:
shutdown
in interfaceorg.springframework.data.redis.connection.DefaultedRedisClusterConnection
- Specified by:
shutdown
in interfaceorg.springframework.data.redis.connection.RedisClusterServerCommands
-
getConfig
public Properties getConfig(org.springframework.data.redis.connection.RedisClusterNode node, String pattern)
- Specified by:
getConfig
in interfaceorg.springframework.data.redis.connection.DefaultedRedisClusterConnection
- Specified by:
getConfig
in interfaceorg.springframework.data.redis.connection.RedisClusterServerCommands
-
setConfig
public void setConfig(org.springframework.data.redis.connection.RedisClusterNode node, String param, String value)
- Specified by:
setConfig
in interfaceorg.springframework.data.redis.connection.DefaultedRedisClusterConnection
- Specified by:
setConfig
in interfaceorg.springframework.data.redis.connection.RedisClusterServerCommands
-
resetConfigStats
public void resetConfigStats(org.springframework.data.redis.connection.RedisClusterNode node)
- Specified by:
resetConfigStats
in interfaceorg.springframework.data.redis.connection.DefaultedRedisClusterConnection
- Specified by:
resetConfigStats
in interfaceorg.springframework.data.redis.connection.RedisClusterServerCommands
-
time
public Long time(org.springframework.data.redis.connection.RedisClusterNode node)
- Specified by:
time
in interfaceorg.springframework.data.redis.connection.DefaultedRedisClusterConnection
- Specified by:
time
in interfaceorg.springframework.data.redis.connection.RedisClusterServerCommands
-
getClientList
public List<org.springframework.data.redis.core.types.RedisClientInfo> getClientList(org.springframework.data.redis.connection.RedisClusterNode node)
- Specified by:
getClientList
in interfaceorg.springframework.data.redis.connection.DefaultedRedisClusterConnection
- Specified by:
getClientList
in interfaceorg.springframework.data.redis.connection.RedisClusterServerCommands
-
scan
public org.springframework.data.redis.core.Cursor<byte[]> scan(org.springframework.data.redis.connection.RedisClusterNode node, org.springframework.data.redis.core.ScanOptions options)
- Specified by:
scan
in interfaceorg.springframework.data.redis.connection.RedisClusterConnection
-
rename
public void rename(byte[] oldName, byte[] newName)
- Specified by:
rename
in interfaceorg.springframework.data.redis.connection.DefaultedRedisConnection
- Specified by:
rename
in interfaceorg.springframework.data.redis.connection.RedisKeyCommands
- Overrides:
rename
in classRedissonConnection
-
renameNX
public Boolean renameNX(byte[] oldName, byte[] newName)
- Specified by:
renameNX
in interfaceorg.springframework.data.redis.connection.DefaultedRedisConnection
- Specified by:
renameNX
in interfaceorg.springframework.data.redis.connection.RedisKeyCommands
- Overrides:
renameNX
in classRedissonConnection
-
del
public Long del(byte[]... keys)
- Specified by:
del
in interfaceorg.springframework.data.redis.connection.DefaultedRedisConnection
- Specified by:
del
in interfaceorg.springframework.data.redis.connection.RedisKeyCommands
- Overrides:
del
in classRedissonConnection
-
mGet
public List<byte[]> mGet(byte[]... keys)
- Specified by:
mGet
in interfaceorg.springframework.data.redis.connection.DefaultedRedisConnection
- Specified by:
mGet
in interfaceorg.springframework.data.redis.connection.RedisStringCommands
- Overrides:
mGet
in classRedissonConnection
-
mSet
public Boolean mSet(Map<byte[],byte[]> tuple)
- Specified by:
mSet
in interfaceorg.springframework.data.redis.connection.DefaultedRedisConnection
- Specified by:
mSet
in interfaceorg.springframework.data.redis.connection.RedisStringCommands
- Overrides:
mSet
in classRedissonConnection
-
-