Interface DefaultedRedisClusterConnection
- All Superinterfaces:
AutoCloseable,DefaultedRedisConnection,RedisClusterCommands,RedisClusterConnection,RedisClusterServerCommands,RedisCommands,RedisConnection,RedisConnectionCommands,RedisGeoCommands,RedisHashCommands,RedisHyperLogLogCommands,RedisKeyCommands,RedisListCommands,RedisPubSubCommands,RedisScriptingCommands,RedisServerCommands,RedisSetCommands,RedisStreamCommands,RedisStringCommands,RedisTxCommands,RedisZSetCommands
- All Known Implementing Classes:
JedisClusterConnection,LettuceClusterConnection
public interface DefaultedRedisClusterConnection
extends RedisClusterConnection, DefaultedRedisConnection
- Since:
- 2.0
- Author:
- Christoph Strobl, Mark Paluch
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.data.redis.connection.RedisClusterCommands
RedisClusterCommands.AddSlotsNested classes/interfaces inherited from interface org.springframework.data.redis.connection.RedisGeoCommands
RedisGeoCommands.DistanceUnit, RedisGeoCommands.GeoCommandArgs, RedisGeoCommands.GeoLocation<T>, RedisGeoCommands.GeoRadiusCommandArgs, RedisGeoCommands.GeoSearchCommandArgs, RedisGeoCommands.GeoSearchStoreCommandArgsNested classes/interfaces inherited from interface org.springframework.data.redis.connection.RedisListCommands
RedisListCommands.Direction, RedisListCommands.PositionNested classes/interfaces inherited from interface org.springframework.data.redis.connection.RedisServerCommands
RedisServerCommands.MigrateOption, RedisServerCommands.ShutdownOptionNested classes/interfaces inherited from interface org.springframework.data.redis.connection.RedisStreamCommands
RedisStreamCommands.XAddOptions, RedisStreamCommands.XClaimOptions, RedisStreamCommands.XPendingOptionsNested classes/interfaces inherited from interface org.springframework.data.redis.connection.RedisStringCommands
RedisStringCommands.BitOperation, RedisStringCommands.SetOptionNested classes/interfaces inherited from interface org.springframework.data.redis.connection.RedisZSetCommands
RedisZSetCommands.Aggregate, RedisZSetCommands.Limit, RedisZSetCommands.Range, RedisZSetCommands.Tuple, RedisZSetCommands.Weights, RedisZSetCommands.ZAddArgs -
Method Summary
Modifier and TypeMethodDescriptiondefault voidbgReWriteAof(RedisClusterNode node) Deprecated.default voidbgSave(RedisClusterNode node) Deprecated.in favor ofRedisConnection.serverCommands().default LongdbSize(RedisClusterNode node) Deprecated.in favor ofRedisConnection.serverCommands().default <T> Texecute(String command, byte[] key, Collection<byte[]> args) Execute the given command for thekeyprovided potentially appending args.default voidflushAll(RedisClusterNode node) Deprecated.in favor ofRedisConnection.serverCommands().default voidflushDb(RedisClusterNode node) Deprecated.in favor ofRedisConnection.serverCommands().default List<RedisClientInfo>Deprecated.in favor ofRedisConnection.serverCommands().default PropertiesgetConfig(RedisClusterNode node, String pattern) Deprecated.in favor ofRedisConnection.serverCommands().default Propertiesinfo(RedisClusterNode node) Deprecated.in favor ofRedisConnection.serverCommands().default Propertiesinfo(RedisClusterNode node, String section) Deprecated.in favor ofRedisConnection.serverCommands().default LonglastSave(RedisClusterNode node) Deprecated.in favor ofRedisConnection.serverCommands().default voidDeprecated.in favor ofRedisConnection.serverCommands().default voidDeprecated.in favor ofRedisConnection.serverCommands().default voidsave(RedisClusterNode node) Deprecated.in favor ofRedisConnection.serverCommands().default voidsetConfig(RedisClusterNode node, String param, String value) Deprecated.in favor ofRedisConnection.serverCommands().default voidshutdown(RedisClusterNode node) Deprecated.in favor ofRedisConnection.serverCommands().default Longtime(RedisClusterNode node) Deprecated.in favor ofRedisConnection.serverCommands().default Longtime(RedisClusterNode node, TimeUnit timeUnit) Deprecated.in favor ofRedisConnection.serverCommands().Methods inherited from interface org.springframework.data.redis.connection.DefaultedRedisConnection
append, bgReWriteAof, bgSave, bgWriteAof, bitCount, bitCount, bitField, bitOp, bitPos, bLMove, bLPop, bRPop, bRPopLPush, bZPopMax, bZPopMin, copy, dbSize, decr, decrBy, del, dump, encodingOf, eval, evalSha, evalSha, exists, exists, expire, expireAt, flushAll, flushDb, geoAdd, geoAdd, geoAdd, geoDist, geoDist, geoHash, geoPos, geoRadius, geoRadius, geoRadiusByMember, geoRadiusByMember, geoRemove, geoSearch, geoSearchStore, get, getBit, getClientList, getClientName, getConfig, getDel, getEx, getRange, getSet, hDel, hExists, hGet, hGetAll, hIncrBy, hIncrBy, hKeys, hLen, hMGet, hMSet, hRandField, hRandField, hRandFieldWithValues, hRandFieldWithValues, hScan, hSet, hSetNX, hStrLen, hVals, idletime, incr, incrBy, incrBy, info, info, keys, killClient, lastSave, lIndex, lInsert, lLen, lMove, lPop, lPop, lPos, lPush, lPushX, lRange, lRem, lSet, lTrim, mGet, migrate, migrate, move, mSet, mSetNX, persist, pExpire, pExpireAt, pfAdd, pfCount, pfMerge, pSetEx, pTtl, pTtl, randomKey, refcount, rename, renameNX, resetConfigStats, restore, rewriteConfig, rPop, 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, sMIsMember, 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, zDiff, zDiffStore, zDiffWithScores, zIncrBy, zInter, zInterStore, zInterStore, zInterStore, zInterWithScores, zInterWithScores, zInterWithScores, zLexCount, zMScore, zPopMax, zPopMax, zPopMin, zPopMin, zRandMember, zRandMember, zRandMemberWithScore, zRandMemberWithScore, zRange, zRangeByLex, zRangeByScore, zRangeByScore, zRangeByScore, zRangeByScoreWithScores, zRangeWithScores, zRank, zRem, zRemRange, zRemRangeByLex, zRemRangeByScore, zRemRangeByScore, zRevRange, zRevRangeByLex, zRevRangeByScore, zRevRangeByScoreWithScores, zRevRangeWithScores, zRevRank, zScan, zScore, zUnion, zUnionStore, zUnionStore, zUnionStore, zUnionWithScores, zUnionWithScores, zUnionWithScoresMethods inherited from interface org.springframework.data.redis.connection.RedisClusterCommands
clusterAddSlots, clusterAddSlots, clusterCountKeysInSlot, clusterDeleteSlots, clusterDeleteSlotsInRange, clusterForget, clusterGetClusterInfo, clusterGetKeysInSlot, clusterGetMasterSlaveMap, clusterGetNodeForKey, clusterGetNodeForSlot, clusterGetNodes, clusterGetSlaves, clusterGetSlotForKey, clusterMeet, clusterReplicate, clusterSetSlotMethods inherited from interface org.springframework.data.redis.connection.RedisClusterConnection
keys, ping, randomKey, scan, serverCommandsMethods inherited from interface org.springframework.data.redis.connection.RedisCommands
executeMethods 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, zSetCommandsMethods inherited from interface org.springframework.data.redis.connection.RedisConnectionCommands
echo, ping, selectMethods inherited from interface org.springframework.data.redis.connection.RedisGeoCommands
geoAdd, geoRadiusByMemberMethods inherited from interface org.springframework.data.redis.connection.RedisKeyCommands
restore, scanMethods inherited from interface org.springframework.data.redis.connection.RedisListCommands
lPosMethods inherited from interface org.springframework.data.redis.connection.RedisPubSubCommands
getSubscription, isSubscribed, pSubscribe, publish, subscribeMethods inherited from interface org.springframework.data.redis.connection.RedisStreamCommands
xAck, xAdd, xAdd, xClaim, xDel, xGroupDelConsumer, xPending, xPending, xPending, xPending, xPendingMethods inherited from interface org.springframework.data.redis.connection.RedisStringCommands
bitPosMethods inherited from interface org.springframework.data.redis.connection.RedisTxCommands
discard, exec, multi, unwatch, watchMethods 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
-
Method Details
-
bgReWriteAof
Deprecated.in favor ofRedisConnection.serverCommands().- Specified by:
bgReWriteAofin interfaceRedisClusterServerCommands- Parameters:
node- must not be null.- See Also:
-
bgSave
Deprecated.in favor ofRedisConnection.serverCommands().- Specified by:
bgSavein interfaceRedisClusterServerCommands- Parameters:
node- must not be null.- See Also:
-
lastSave
Deprecated.in favor ofRedisConnection.serverCommands().- Specified by:
lastSavein interfaceRedisClusterServerCommands- Parameters:
node- must not be null.- Returns:
- See Also:
-
save
Deprecated.in favor ofRedisConnection.serverCommands().- Specified by:
savein interfaceRedisClusterServerCommands- Parameters:
node- must not be null.- See Also:
-
dbSize
Deprecated.in favor ofRedisConnection.serverCommands().- Specified by:
dbSizein interfaceRedisClusterServerCommands- Parameters:
node- must not be null.- Returns:
- See Also:
-
flushDb
Deprecated.in favor ofRedisConnection.serverCommands().- Specified by:
flushDbin interfaceRedisClusterServerCommands- Parameters:
node- must not be null.- See Also:
-
flushAll
Deprecated.in favor ofRedisConnection.serverCommands().- Specified by:
flushAllin interfaceRedisClusterServerCommands- Parameters:
node- must not be null.- See Also:
-
info
Deprecated.in favor ofRedisConnection.serverCommands().- Specified by:
infoin interfaceRedisClusterServerCommands- Parameters:
node- must not be null.- Returns:
- See Also:
-
info
Deprecated.in favor ofRedisConnection.serverCommands().- Specified by:
infoin interfaceRedisClusterServerCommands- Parameters:
node- must not be null.- Returns:
- See Also:
-
shutdown
Deprecated.in favor ofRedisConnection.serverCommands().- Specified by:
shutdownin interfaceRedisClusterServerCommands- Parameters:
node- must not be null.- See Also:
-
getConfig
Deprecated.in favor ofRedisConnection.serverCommands().- Specified by:
getConfigin interfaceRedisClusterServerCommands- Parameters:
node- must not be null.- Returns:
- See Also:
-
setConfig
Deprecated.in favor ofRedisConnection.serverCommands().- Specified by:
setConfigin interfaceRedisClusterServerCommands- Parameters:
node- must not be null.- See Also:
-
resetConfigStats
Deprecated.in favor ofRedisConnection.serverCommands().- Specified by:
resetConfigStatsin interfaceRedisClusterServerCommands- Parameters:
node- must not be null.- See Also:
-
rewriteConfig
Deprecated.in favor ofRedisConnection.serverCommands().- Specified by:
rewriteConfigin interfaceRedisClusterServerCommands- Parameters:
node- must not be null.- See Also:
-
time
Deprecated.in favor ofRedisConnection.serverCommands().- Specified by:
timein interfaceRedisClusterServerCommands- Parameters:
node- must not be null.- Returns:
- See Also:
-
time
Deprecated.in favor ofRedisConnection.serverCommands().- Specified by:
timein interfaceRedisClusterServerCommands- Parameters:
node- must not be null.timeUnit- must not be null.- Returns:
- See Also:
-
getClientList
Deprecated.in favor ofRedisConnection.serverCommands().- Specified by:
getClientListin interfaceRedisClusterServerCommands- Parameters:
node- must not be null.- Returns:
- See Also:
-
execute
Description copied from interface:RedisClusterConnectionExecute the given command for thekeyprovided potentially appending args.
This method, other thanRedisCommands.execute(String, byte[]...), dispatches the command to thekeyserving master node.// SET foo bar EX 10 NX execute("SET", "foo".getBytes(), asBinaryList("bar", "EX", 10, "NX"))- Specified by:
executein interfaceRedisClusterConnection- Parameters:
command- must not be null.key- must not be null.args- must not be null.- Returns:
- command result as delivered by the underlying Redis driver. Can be null.
-
RedisConnection.serverCommands().