public interface DefaultedRedisClusterConnection extends RedisClusterConnection, DefaultedRedisConnection
RedisClusterCommands.AddSlots
RedisStringCommands.BitOperation, RedisStringCommands.SetOption
RedisListCommands.Position
RedisZSetCommands.Aggregate, RedisZSetCommands.Limit, RedisZSetCommands.Range, RedisZSetCommands.Tuple, RedisZSetCommands.Weights
RedisGeoCommands.DistanceUnit, RedisGeoCommands.GeoLocation<T>, RedisGeoCommands.GeoRadiusCommandArgs
keys, ping, randomKey, scan, serverCommands
clusterAddSlots, clusterAddSlots, clusterCountKeysInSlot, clusterDeleteSlots, clusterDeleteSlotsInRange, clusterForget, clusterGetClusterInfo, clusterGetKeysInSlot, clusterGetMasterSlaveMap, clusterGetNodeForKey, clusterGetNodeForSlot, clusterGetNodes, clusterGetSlaves, clusterGetSlotForKey, clusterMeet, clusterReplicate, clusterSetSlot
append, bgReWriteAof, bgSave, bgWriteAof, bitCount, bitCount, bitField, bitOp, bitPos, bLPop, bRPop, bRPopLPush, 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, 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, rename, renameNX, 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, 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, zUnionStore
close, closePipeline, geoCommands, getNativeConnection, getSentinelConnection, hashCommands, hyperLogLogCommands, isClosed, isPipelined, isQueueing, keyCommands, listCommands, openPipeline, scriptingCommands, setCommands, stringCommands, zSetCommands
execute
restore
bitPos
zRangeByLex, zRangeByLex, zRangeByScore, zRangeByScore, zRangeByScore, zRangeByScoreWithScores, zRangeByScoreWithScores, zRangeByScoreWithScores, zRevRangeByScore, zRevRangeByScore, zRevRangeByScore, zRevRangeByScoreWithScores, zRevRangeByScoreWithScores, zRevRangeByScoreWithScores
discard, exec, multi, unwatch, watch
getSubscription, isSubscribed, pSubscribe, publish, subscribe
echo, ping, select
geoAdd, geoRadiusByMember
@Deprecated default void bgReWriteAof(RedisClusterNode node)
RedisConnection.serverCommands()
.bgReWriteAof
in interface RedisClusterServerCommands
node
- must not be null.RedisServerCommands.bgReWriteAof()
@Deprecated default void bgSave(RedisClusterNode node)
RedisConnection.serverCommands()
.bgSave
in interface RedisClusterServerCommands
node
- must not be null.RedisServerCommands.bgSave()
@Deprecated default Long lastSave(RedisClusterNode node)
RedisConnection.serverCommands()
.lastSave
in interface RedisClusterServerCommands
node
- must not be null.RedisServerCommands.lastSave()
@Deprecated default void save(RedisClusterNode node)
RedisConnection.serverCommands()
.save
in interface RedisClusterServerCommands
node
- must not be null.RedisServerCommands.save()
@Deprecated default Long dbSize(RedisClusterNode node)
RedisConnection.serverCommands()
.dbSize
in interface RedisClusterServerCommands
node
- must not be null.RedisServerCommands.dbSize()
@Deprecated default void flushDb(RedisClusterNode node)
RedisConnection.serverCommands()
.flushDb
in interface RedisClusterServerCommands
node
- must not be null.RedisServerCommands.flushDb()
@Deprecated default void flushAll(RedisClusterNode node)
RedisConnection.serverCommands()
.flushAll
in interface RedisClusterServerCommands
node
- must not be null.RedisServerCommands.flushAll()
@Deprecated default Properties info(RedisClusterNode node)
RedisConnection.serverCommands()
.info
in interface RedisClusterServerCommands
node
- must not be null.RedisServerCommands.info()
@Deprecated default Properties info(RedisClusterNode node, String section)
RedisConnection.serverCommands()
.info
in interface RedisClusterServerCommands
node
- must not be null.RedisServerCommands.info(String)
@Deprecated default void shutdown(RedisClusterNode node)
RedisConnection.serverCommands()
.shutdown
in interface RedisClusterServerCommands
node
- must not be null.RedisServerCommands.shutdown()
@Deprecated default Properties getConfig(RedisClusterNode node, String pattern)
RedisConnection.serverCommands()
.getConfig
in interface RedisClusterServerCommands
node
- must not be null.RedisServerCommands.getConfig(String)
@Deprecated default void setConfig(RedisClusterNode node, String param, String value)
RedisConnection.serverCommands()
.setConfig
in interface RedisClusterServerCommands
node
- must not be null.RedisServerCommands.setConfig(String, String)
@Deprecated default void resetConfigStats(RedisClusterNode node)
RedisConnection.serverCommands()
.resetConfigStats
in interface RedisClusterServerCommands
node
- must not be null.RedisServerCommands.resetConfigStats()
@Deprecated default Long time(RedisClusterNode node)
RedisConnection.serverCommands()
.time
in interface RedisClusterServerCommands
node
- must not be null.RedisServerCommands.time()
@Deprecated default List<RedisClientInfo> getClientList(RedisClusterNode node)
RedisConnection.serverCommands()
.getClientList
in interface RedisClusterServerCommands
node
- must not be null.RedisServerCommands.getClientList()
@Nullable default <T> T execute(String command, byte[] key, Collection<byte[]> args)
RedisClusterConnection
key
provided potentially appending args. #execute(String, byte[]...)
, dispatches the command to the key
serving
master node.
// SET foo bar EX 10 NX
execute("SET", "foo".getBytes(), asBinaryList("bar", "EX", 10, "NX"))
execute
in interface RedisClusterConnection
command
- must not be null.key
- must not be null.args
- must not be null.Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.