public class RedissonClusterConnection extends RedissonConnection implements org.springframework.data.redis.connection.DefaultedRedisClusterConnection
org.springframework.data.redis.connection.RedisClusterCommands.AddSlotsorg.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.Tuple, org.springframework.data.redis.connection.RedisZSetCommands.Weightsorg.springframework.data.redis.connection.RedisStreamCommands.XAddOptions, org.springframework.data.redis.connection.RedisStreamCommands.XClaimOptions, org.springframework.data.redis.connection.RedisStreamCommands.XPendingOptionsorg.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(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) |
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) |
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) |
append, bgReWriteAof, bgSave, bgWriteAof, bitCount, bitCount, bitOp, bLPop, bRPop, bRPopLPush, close, closePipeline, convert, dbSize, decr, decrBy, 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, hStrLen, 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, 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, sPop, sRandMember, sRandMember, sRem, sScan, streamCommands, strLen, subscribe, sUnion, sUnionStore, sync, time, toCommand, 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, zUnionStoregetSentinelConnection, getSentinelConnection, hasRedisSentinelConfigured, isActive, setSentinelConfigurationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecuteserverCommandsappend, 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, lPush, lPushX, lRange, lRem, lSet, lTrim, mGet, migrate, migrate, move, mSet, mSetNX, persist, pExpire, pExpireAt, pfAdd, pfCount, pfMerge, pSetEx, pTtl, pTtl, randomKey, refcount, resetConfigStats, restore, 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, 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, zAdd, zAdd, zCard, zCount, zCount, zIncrBy, zInterStore, zInterStore, zInterStore, zRange, zRangeByLex, zRangeByScore, zRangeByScore, zRangeByScore, zRangeByScoreWithScores, zRangeWithScores, zRank, zRem, zRemRange, zRemRangeByScore, zRemRangeByScore, zRevRange, zRevRangeByScore, zRevRangeByScoreWithScores, zRevRangeWithScores, zRevRank, zScan, zScore, zUnionStore, zUnionStore, zUnionStoreclose, closePipeline, geoCommands, getNativeConnection, getSentinelConnection, hashCommands, hyperLogLogCommands, isClosed, isPipelined, isQueueing, keyCommands, listCommands, openPipeline, scriptingCommands, setCommands, streamCommands, stringCommands, zSetCommandsbitPoszRangeByLex, zRangeByLex, zRangeByScore, zRangeByScore, zRangeByScore, zRangeByScoreWithScores, zRangeByScoreWithScores, zRangeByScoreWithScores, zRevRangeByScore, zRevRangeByScore, zRevRangeByScore, zRevRangeByScoreWithScores, zRevRangeByScoreWithScores, zRevRangeByScoreWithScoresdiscard, exec, multi, unwatch, watchgetSubscription, isSubscribed, pSubscribe, publish, subscribeecho, ping, selectpublic RedissonClusterConnection(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.DefaultedRedisClusterConnectionbgReWriteAof in interface org.springframework.data.redis.connection.RedisClusterServerCommandspublic void bgSave(org.springframework.data.redis.connection.RedisClusterNode node)
bgSave in interface org.springframework.data.redis.connection.DefaultedRedisClusterConnectionbgSave in interface org.springframework.data.redis.connection.RedisClusterServerCommandspublic Long lastSave(org.springframework.data.redis.connection.RedisClusterNode node)
lastSave in interface org.springframework.data.redis.connection.DefaultedRedisClusterConnectionlastSave in interface org.springframework.data.redis.connection.RedisClusterServerCommandspublic void save(org.springframework.data.redis.connection.RedisClusterNode node)
save in interface org.springframework.data.redis.connection.DefaultedRedisClusterConnectionsave in interface org.springframework.data.redis.connection.RedisClusterServerCommandspublic Long dbSize(org.springframework.data.redis.connection.RedisClusterNode node)
dbSize in interface org.springframework.data.redis.connection.DefaultedRedisClusterConnectiondbSize in interface org.springframework.data.redis.connection.RedisClusterServerCommandsprotected 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.DefaultedRedisClusterConnectionflushDb in interface org.springframework.data.redis.connection.RedisClusterServerCommandspublic void flushAll(org.springframework.data.redis.connection.RedisClusterNode node)
flushAll in interface org.springframework.data.redis.connection.DefaultedRedisClusterConnectionflushAll in interface org.springframework.data.redis.connection.RedisClusterServerCommandspublic Properties info(org.springframework.data.redis.connection.RedisClusterNode node)
info in interface org.springframework.data.redis.connection.DefaultedRedisClusterConnectioninfo in interface org.springframework.data.redis.connection.RedisClusterServerCommandspublic Properties info(org.springframework.data.redis.connection.RedisClusterNode node, String section)
info in interface org.springframework.data.redis.connection.DefaultedRedisClusterConnectioninfo in interface org.springframework.data.redis.connection.RedisClusterServerCommandspublic 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.DefaultedRedisClusterConnectionshutdown in interface org.springframework.data.redis.connection.RedisClusterServerCommandspublic Properties getConfig(org.springframework.data.redis.connection.RedisClusterNode node, String pattern)
getConfig in interface org.springframework.data.redis.connection.DefaultedRedisClusterConnectiongetConfig in interface org.springframework.data.redis.connection.RedisClusterServerCommandspublic void setConfig(org.springframework.data.redis.connection.RedisClusterNode node,
String param,
String value)
setConfig in interface org.springframework.data.redis.connection.DefaultedRedisClusterConnectionsetConfig in interface org.springframework.data.redis.connection.RedisClusterServerCommandspublic void resetConfigStats(org.springframework.data.redis.connection.RedisClusterNode node)
resetConfigStats in interface org.springframework.data.redis.connection.DefaultedRedisClusterConnectionresetConfigStats in interface org.springframework.data.redis.connection.RedisClusterServerCommandspublic Long time(org.springframework.data.redis.connection.RedisClusterNode node)
time in interface org.springframework.data.redis.connection.DefaultedRedisClusterConnectiontime in interface org.springframework.data.redis.connection.RedisClusterServerCommandspublic List<org.springframework.data.redis.core.types.RedisClientInfo> getClientList(org.springframework.data.redis.connection.RedisClusterNode node)
getClientList in interface org.springframework.data.redis.connection.DefaultedRedisClusterConnectiongetClientList in interface org.springframework.data.redis.connection.RedisClusterServerCommandspublic org.springframework.data.redis.core.Cursor<byte[]> scan(org.springframework.data.redis.connection.RedisClusterNode node,
org.springframework.data.redis.core.ScanOptions options)
scan in interface org.springframework.data.redis.connection.RedisClusterConnectionpublic void rename(byte[] oldName,
byte[] newName)
rename in interface org.springframework.data.redis.connection.DefaultedRedisConnectionrename in interface org.springframework.data.redis.connection.RedisKeyCommandsrename in class RedissonConnectionpublic Boolean renameNX(byte[] oldName, byte[] newName)
renameNX in interface org.springframework.data.redis.connection.DefaultedRedisConnectionrenameNX in interface org.springframework.data.redis.connection.RedisKeyCommandsrenameNX in class RedissonConnectionpublic Long del(byte[]... keys)
del in interface org.springframework.data.redis.connection.DefaultedRedisConnectiondel in interface org.springframework.data.redis.connection.RedisKeyCommandsdel in class RedissonConnectionCopyright © 2014–2021 Redisson. All rights reserved.