public class RedissonClusterConnection extends RedissonConnection implements org.springframework.data.redis.connection.RedisClusterConnection
org.springframework.data.redis.connection.RedisStringCommands.BitOperation, org.springframework.data.redis.connection.RedisStringCommands.SetOptionorg.springframework.data.redis.connection.RedisListCommands.Positionorg.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.Tupleorg.springframework.data.redis.connection.RedisServerCommands.MigrateOption, org.springframework.data.redis.connection.RedisServerCommands.ShutdownOptionorg.springframework.data.redis.connection.RedisGeoCommands.DistanceUnit, org.springframework.data.redis.connection.RedisGeoCommands.GeoLocation<T>, org.springframework.data.redis.connection.RedisGeoCommands.GeoRadiusCommandArgsredisson| Constructor and Description |
|---|
RedissonClusterConnection(org.redisson.api.RedissonClient redisson) |
| Modifier and Type | Method and 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) |
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) |
List<String> |
getConfig(org.springframework.data.redis.connection.RedisClusterNode node,
String pattern) |
protected org.redisson.connection.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) |
String |
ping(org.springframework.data.redis.connection.RedisClusterNode node) |
byte[] |
randomKey(org.springframework.data.redis.connection.RedisClusterNode node) |
void |
resetConfigStats(org.springframework.data.redis.connection.RedisClusterNode node) |
void |
save(org.springframework.data.redis.connection.RedisClusterNode node) |
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) |
append, bgReWriteAof, bgSave, bgWriteAof, bitCount, bitCount, bitOp, bLPop, bRPop, bRPopLPush, close, closePipeline, convert, dbSize, decr, decrBy, del, discard, dump, echo, eval, evalSha, evalSha, exec, execute, 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, hVals, incr, incrBy, incrBy, indexCommand, info, info, isClosed, isPipelined, isPipelinedAtomic, isQueueing, isSubscribed, keys, killClient, lastSave, lIndex, lInsert, lLen, lPop, lPush, lPushX, lRange, lRem, lSet, lTrim, mGet, migrate, migrate, move, mSet, mSetNX, multi, openPipeline, persist, pExpire, pExpireAt, pfAdd, pfCount, pfMerge, ping, pSetEx, pSubscribe, pTtl, pTtl, publish, randomKey, rename, renameNX, resetConfigStats, resetConnection, 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, sRandMember, sRandMember, sRem, sScan, strLen, subscribe, sUnion, sUnionStore, sync, time, toCommand, transform, ttl, ttl, type, 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, zUnionStoregetSentinelConnection, getSentinelConnection, hasRedisSentinelConfigured, isActive, setSentinelConfigurationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, closePipeline, getNativeConnection, getSentinelConnection, isClosed, isPipelined, isQueueing, openPipelinedel, dump, exists, expire, expireAt, keys, move, persist, pExpire, pExpireAt, pTtl, pTtl, randomKey, rename, renameNX, restore, scan, sort, sort, ttl, ttl, typeappend, bitCount, bitCount, bitOp, decr, decrBy, get, getBit, getRange, getSet, incr, incrBy, incrBy, mGet, mSet, mSetNX, pSetEx, set, set, setBit, setEx, setNX, setRange, strLenbLPop, bRPop, bRPopLPush, lIndex, lInsert, lLen, lPop, lPush, lPushX, lRange, lRem, lSet, lTrim, rPop, rPopLPush, rPush, rPushXsAdd, sCard, sDiff, sDiffStore, sInter, sInterStore, sIsMember, sMembers, sMove, sPop, sRandMember, sRandMember, sRem, sScan, sUnion, sUnionStorezAdd, 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, zUnionStorehDel, hExists, hGet, hGetAll, hIncrBy, hIncrBy, hKeys, hLen, hMGet, hMSet, hScan, hSet, hSetNX, hValsdiscard, exec, multi, unwatch, watchgetSubscription, isSubscribed, pSubscribe, publish, subscribeecho, ping, selectbgReWriteAof, bgSave, bgWriteAof, dbSize, flushAll, flushDb, getClientList, getClientName, getConfig, info, info, killClient, lastSave, migrate, migrate, resetConfigStats, save, setClientName, setConfig, shutdown, shutdown, slaveOf, slaveOfNoOne, timeeval, evalSha, evalSha, scriptExists, scriptFlush, scriptKill, scriptLoadpublic RedissonClusterConnection(org.redisson.api.RedissonClient redisson)
public Iterable<org.springframework.data.redis.connection.RedisClusterNode> clusterGetNodes()
clusterGetNodes in interface org.springframework.data.redis.connection.RedisClusterCommandspublic Collection<org.springframework.data.redis.connection.RedisClusterNode> clusterGetSlaves(org.springframework.data.redis.connection.RedisClusterNode master)
clusterGetSlaves in interface org.springframework.data.redis.connection.RedisClusterCommandspublic Map<org.springframework.data.redis.connection.RedisClusterNode,Collection<org.springframework.data.redis.connection.RedisClusterNode>> clusterGetMasterSlaveMap()
clusterGetMasterSlaveMap in interface org.springframework.data.redis.connection.RedisClusterCommandspublic Integer clusterGetSlotForKey(byte[] key)
clusterGetSlotForKey in interface org.springframework.data.redis.connection.RedisClusterCommandspublic org.springframework.data.redis.connection.RedisClusterNode clusterGetNodeForSlot(int slot)
clusterGetNodeForSlot in interface org.springframework.data.redis.connection.RedisClusterCommandspublic org.springframework.data.redis.connection.RedisClusterNode clusterGetNodeForKey(byte[] key)
clusterGetNodeForKey in interface org.springframework.data.redis.connection.RedisClusterCommandspublic org.springframework.data.redis.connection.ClusterInfo clusterGetClusterInfo()
clusterGetClusterInfo in interface org.springframework.data.redis.connection.RedisClusterCommandspublic void clusterAddSlots(org.springframework.data.redis.connection.RedisClusterNode node,
int... slots)
clusterAddSlots in interface org.springframework.data.redis.connection.RedisClusterCommandspublic void clusterAddSlots(org.springframework.data.redis.connection.RedisClusterNode node,
org.springframework.data.redis.connection.RedisClusterNode.SlotRange range)
clusterAddSlots in interface org.springframework.data.redis.connection.RedisClusterCommandspublic Long clusterCountKeysInSlot(int slot)
clusterCountKeysInSlot in interface org.springframework.data.redis.connection.RedisClusterCommandspublic void clusterDeleteSlots(org.springframework.data.redis.connection.RedisClusterNode node,
int... slots)
clusterDeleteSlots in interface org.springframework.data.redis.connection.RedisClusterCommandspublic void clusterDeleteSlotsInRange(org.springframework.data.redis.connection.RedisClusterNode node,
org.springframework.data.redis.connection.RedisClusterNode.SlotRange range)
clusterDeleteSlotsInRange in interface org.springframework.data.redis.connection.RedisClusterCommandspublic void clusterForget(org.springframework.data.redis.connection.RedisClusterNode node)
clusterForget in interface org.springframework.data.redis.connection.RedisClusterCommandspublic void clusterMeet(org.springframework.data.redis.connection.RedisClusterNode node)
clusterMeet in interface org.springframework.data.redis.connection.RedisClusterCommandspublic void clusterSetSlot(org.springframework.data.redis.connection.RedisClusterNode node,
int slot,
org.springframework.data.redis.connection.RedisClusterCommands.AddSlots mode)
clusterSetSlot in interface org.springframework.data.redis.connection.RedisClusterCommandspublic List<byte[]> clusterGetKeysInSlot(int slot, Integer count)
clusterGetKeysInSlot in interface org.springframework.data.redis.connection.RedisClusterCommandspublic void clusterReplicate(org.springframework.data.redis.connection.RedisClusterNode master,
org.springframework.data.redis.connection.RedisClusterNode slave)
clusterReplicate in interface org.springframework.data.redis.connection.RedisClusterCommandspublic String ping(org.springframework.data.redis.connection.RedisClusterNode node)
ping in interface org.springframework.data.redis.connection.RedisClusterConnectionpublic void bgReWriteAof(org.springframework.data.redis.connection.RedisClusterNode node)
bgReWriteAof in interface org.springframework.data.redis.connection.RedisClusterConnectionpublic void bgSave(org.springframework.data.redis.connection.RedisClusterNode node)
bgSave in interface org.springframework.data.redis.connection.RedisClusterConnectionpublic Long lastSave(org.springframework.data.redis.connection.RedisClusterNode node)
lastSave in interface org.springframework.data.redis.connection.RedisClusterConnectionpublic void save(org.springframework.data.redis.connection.RedisClusterNode node)
save in interface org.springframework.data.redis.connection.RedisClusterConnectionpublic Long dbSize(org.springframework.data.redis.connection.RedisClusterNode node)
dbSize in interface org.springframework.data.redis.connection.RedisClusterConnectionprotected org.redisson.connection.MasterSlaveEntry getEntry(org.springframework.data.redis.connection.RedisClusterNode node)
public void flushDb(org.springframework.data.redis.connection.RedisClusterNode node)
flushDb in interface org.springframework.data.redis.connection.RedisClusterConnectionpublic void flushAll(org.springframework.data.redis.connection.RedisClusterNode node)
flushAll in interface org.springframework.data.redis.connection.RedisClusterConnectionpublic Properties info(org.springframework.data.redis.connection.RedisClusterNode node)
info in interface org.springframework.data.redis.connection.RedisClusterConnectionpublic Properties info(org.springframework.data.redis.connection.RedisClusterNode node, String section)
info in interface org.springframework.data.redis.connection.RedisClusterConnectionpublic Set<byte[]> keys(org.springframework.data.redis.connection.RedisClusterNode node, byte[] pattern)
keys in interface org.springframework.data.redis.connection.RedisClusterConnectionpublic byte[] randomKey(org.springframework.data.redis.connection.RedisClusterNode node)
randomKey in interface org.springframework.data.redis.connection.RedisClusterConnectionpublic void shutdown(org.springframework.data.redis.connection.RedisClusterNode node)
shutdown in interface org.springframework.data.redis.connection.RedisClusterConnectionpublic List<String> getConfig(org.springframework.data.redis.connection.RedisClusterNode node, String pattern)
getConfig in interface org.springframework.data.redis.connection.RedisClusterConnectionpublic void setConfig(org.springframework.data.redis.connection.RedisClusterNode node,
String param,
String value)
setConfig in interface org.springframework.data.redis.connection.RedisClusterConnectionpublic void resetConfigStats(org.springframework.data.redis.connection.RedisClusterNode node)
resetConfigStats in interface org.springframework.data.redis.connection.RedisClusterConnectionpublic Long time(org.springframework.data.redis.connection.RedisClusterNode node)
time in interface org.springframework.data.redis.connection.RedisClusterConnectionpublic List<org.springframework.data.redis.core.types.RedisClientInfo> getClientList(org.springframework.data.redis.connection.RedisClusterNode node)
getClientList in interface org.springframework.data.redis.connection.RedisClusterConnectionCopyright © 2014–2019 The Redisson Project. All rights reserved.