public class TracingRedisClusterConnection extends TracingRedisConnection implements org.springframework.data.redis.connection.RedisClusterConnection
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.Tuple, org.springframework.data.redis.connection.RedisZSetCommands.Weightsorg.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.GeoRadiusCommandArgs| Constructor and Description |
|---|
TracingRedisClusterConnection(org.springframework.data.redis.connection.RedisClusterConnection connection,
boolean withActiveSpanOnly,
io.opentracing.Tracer tracer) |
| 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) |
Long |
dbSize(org.springframework.data.redis.connection.RedisClusterNode node) |
<T> T |
execute(String command,
byte[] key,
Collection<byte[]> args) |
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) |
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) |
org.springframework.data.redis.core.Cursor<byte[]> |
scan(org.springframework.data.redis.connection.RedisClusterNode node,
org.springframework.data.redis.core.ScanOptions options) |
org.springframework.data.redis.connection.RedisClusterServerCommands |
serverCommands() |
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, bitField, bitOp, bitPos, bLPop, bRPop, bRPopLPush, close, closePipeline, dbSize, decr, decrBy, del, discard, dump, echo, encodingOf, eval, evalSha, evalSha, exec, execute, exists, exists, expire, expireAt, flushAll, flushDb, geoAdd, geoAdd, geoAdd, geoAdd, geoCommands, geoDist, geoDist, geoHash, geoPos, geoRadius, geoRadius, geoRadiusByMember, geoRadiusByMember, geoRadiusByMember, geoRemove, get, getBit, getClientList, getClientName, getConfig, getNativeConnection, getRange, getSentinelConnection, getSet, getSubscription, hashCommands, hDel, hExists, hGet, hGetAll, hIncrBy, hIncrBy, hKeys, hLen, hMGet, hMSet, hScan, hSet, hSetNX, hStrLen, hVals, hyperLogLogCommands, idletime, incr, incrBy, incrBy, info, info, isClosed, isPipelined, isQueueing, isSubscribed, keyCommands, keys, killClient, lastSave, lIndex, lInsert, listCommands, 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, refcount, rename, renameNX, resetConfigStats, restore, restore, rPop, rPopLPush, rPush, rPushX, sAdd, save, scan, sCard, scriptExists, scriptFlush, scriptingCommands, scriptKill, scriptLoad, sDiff, sDiffStore, select, set, set, setBit, setClientName, setCommands, setConfig, setEx, setNX, setRange, shutdown, shutdown, sInter, sInterStore, sIsMember, slaveOf, slaveOfNoOne, sMembers, sMove, sort, sort, sPop, sPop, sRandMember, sRandMember, sRem, sScan, stringCommands, strLen, subscribe, sUnion, sUnionStore, time, touch, ttl, ttl, type, unlink, unwatch, watch, zAdd, zAdd, zCard, zCount, zCount, zIncrBy, zInterStore, 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, zSetCommands, zUnionStore, zUnionStore, zUnionStoreclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, closePipeline, geoCommands, getNativeConnection, getSentinelConnection, hashCommands, hyperLogLogCommands, isClosed, isPipelined, isQueueing, keyCommands, listCommands, openPipeline, scriptingCommands, setCommands, stringCommands, zSetCommandsdel, dump, encodingOf, exists, exists, expire, expireAt, idletime, keys, move, persist, pExpire, pExpireAt, pTtl, pTtl, randomKey, refcount, rename, renameNX, restore, restore, scan, sort, sort, touch, ttl, ttl, type, unlinkappend, bitCount, bitCount, bitField, bitOp, bitPos, bitPos, 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, sPop, sRandMember, sRandMember, sRem, sScan, sUnion, sUnionStorezAdd, zAdd, zCard, zCount, zCount, zIncrBy, zInterStore, 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, zUnionStorehDel, hExists, hGet, hGetAll, hIncrBy, hIncrBy, hKeys, hLen, hMGet, hMSet, hScan, hSet, hSetNX, hStrLen, 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 TracingRedisClusterConnection(org.springframework.data.redis.connection.RedisClusterConnection connection,
boolean withActiveSpanOnly,
io.opentracing.Tracer tracer)
public org.springframework.data.redis.connection.RedisClusterServerCommands serverCommands()
serverCommands in interface org.springframework.data.redis.connection.RedisClusterConnectionserverCommands in interface org.springframework.data.redis.connection.RedisConnectionserverCommands in class TracingRedisConnectionpublic 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.RedisClusterServerCommandspublic void bgSave(org.springframework.data.redis.connection.RedisClusterNode node)
bgSave 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.RedisClusterServerCommandspublic void save(org.springframework.data.redis.connection.RedisClusterNode node)
save 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.RedisClusterServerCommandspublic void flushDb(org.springframework.data.redis.connection.RedisClusterNode node)
flushDb 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.RedisClusterServerCommandspublic Properties info(org.springframework.data.redis.connection.RedisClusterNode node)
info 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.RedisClusterServerCommandspublic Set<byte[]> keys(org.springframework.data.redis.connection.RedisClusterNode node, byte[] pattern)
keys in interface org.springframework.data.redis.connection.RedisClusterConnectionpublic 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 byte[] randomKey(org.springframework.data.redis.connection.RedisClusterNode node)
randomKey in interface org.springframework.data.redis.connection.RedisClusterConnectionpublic <T> T execute(String command, byte[] key, Collection<byte[]> args)
execute 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.RedisClusterServerCommandspublic Properties getConfig(org.springframework.data.redis.connection.RedisClusterNode node, String pattern)
getConfig 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.RedisClusterServerCommandspublic void resetConfigStats(org.springframework.data.redis.connection.RedisClusterNode node)
resetConfigStats 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.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.RedisClusterServerCommandsCopyright © 2017-2019–2019. All rights reserved.