K - Key type.V - Value type.public interface RedisClusterConnection<K,V> extends RedisHashesConnection<K,V>, RedisKeysConnection<K,V>, RedisStringsConnection<K,V>, RedisListsConnection<K,V>, RedisSetsConnection<K,V>, RedisSortedSetsConnection<K,V>, RedisScriptingConnection<K,V>, RedisServerConnection<K,V>, RedisHLLConnection<K,V>
| Modifier and Type | Method and Description |
|---|---|
String |
asking() |
void |
close() |
String |
clusterAddSlots(int... slots) |
String |
clusterDelSlots(int... slots) |
String |
clusterFailover(boolean force) |
String |
clusterFlushslots() |
String |
clusterForget(String nodeId) |
List<K> |
clusterGetKeysInSlot(int slot,
int count) |
String |
clusterInfo() |
String |
clusterMeet(String ip,
int port) |
String |
clusterMyId() |
String |
clusterNodes() |
String |
clusterReplicate(String nodeId) |
String |
clusterReset(boolean hard) |
String |
clusterSetSlotImporting(int slot,
String nodeId) |
String |
clusterSetSlotMigrating(int slot,
String nodeId) |
String |
clusterSetSlotNode(int slot,
String nodeId) |
List<String> |
clusterSlaves(String nodeId) |
List<Object> |
clusterSlots()
Get array of Cluster slot to node mappings.
|
String |
readOnly()
Tells a Redis cluster slave node that the client is ok reading possibly stale data and is not interested in running write
queries.
|
String |
readWrite()
Resets readOnly flag.
|
hdel, hexists, hget, hgetall, hgetall, hincrby, hincrbyfloat, hkeys, hkeys, hlen, hmget, hmget, hmset, hscan, hscan, hscan, hscan, hscan, hscan, hscan, hscan, hset, hsetnx, hvals, hvalsdel, dump, exists, expire, expireat, expireat, keys, keys, migrate, move, objectEncoding, objectIdletime, objectRefcount, persist, pexpire, pexpireat, pexpireat, pttl, randomkey, rename, renamenx, restore, scan, scan, scan, scan, scan, scan, scan, scan, sort, sort, sort, sort, sortStore, ttl, typeappend, bitcount, bitcount, bitopAnd, bitopNot, bitopOr, bitopXor, bitpos, bitpos, decr, decrby, get, getbit, getrange, getset, incr, incrby, incrbyfloat, mget, mget, mset, msetnx, psetex, set, set, setbit, setex, setnx, setrange, strlenblpop, brpop, brpoplpush, lindex, linsert, llen, lpop, lpush, lpushx, lrange, lrange, lrem, lset, ltrim, rpop, rpoplpush, rpush, rpushxsadd, scard, sdiff, sdiff, sdiffstore, sinter, sinter, sinterstore, sismember, smembers, smembers, smove, spop, srandmember, srandmember, srandmember, srem, sscan, sscan, sscan, sscan, sscan, sscan, sscan, sscan, sunion, sunion, sunionstorezadd, zadd, zcard, zcount, zcount, zincrby, zinterstore, zinterstore, zlexcount, zrange, zrange, zrangebylex, zrangebylex, zrangebyscore, zrangebyscore, zrangebyscore, zrangebyscore, zrangebyscore, zrangebyscore, zrangebyscore, zrangebyscore, zrangebyscoreWithScores, zrangebyscoreWithScores, zrangebyscoreWithScores, zrangebyscoreWithScores, zrangebyscoreWithScores, zrangebyscoreWithScores, zrangebyscoreWithScores, zrangebyscoreWithScores, zrangeWithScores, zrangeWithScores, zrank, zrem, zremrangebylex, zremrangebyrank, zremrangebyscore, zremrangebyscore, zrevrange, zrevrange, zrevrangebyscore, zrevrangebyscore, zrevrangebyscore, zrevrangebyscore, zrevrangebyscore, zrevrangebyscore, zrevrangebyscore, zrevrangebyscore, zrevrangebyscoreWithScores, zrevrangebyscoreWithScores, zrevrangebyscoreWithScores, zrevrangebyscoreWithScores, zrevrangebyscoreWithScores, zrevrangebyscoreWithScores, zrevrangebyscoreWithScores, zrevrangebyscoreWithScores, zrevrangeWithScores, zrevrangeWithScores, zrevrank, zscan, zscan, zscan, zscan, zscan, zscan, zscan, zscan, zscore, zunionstore, zunionstoreeval, eval, evalsha, evalsha, scriptExists, scriptFlush, scriptKill, scriptLoadbgrewriteaof, bgsave, clientGetname, clientKill, clientKill, clientList, clientPause, clientSetname, command, commandCount, commandInfo, commandInfo, configGet, configResetstat, configRewrite, configSet, dbsize, debugObject, debugOom, debugSegfault, flushall, flushdb, info, info, lastsave, save, shutdown, slaveof, slaveofNoOne, slowlogGet, slowlogGet, slowlogLen, slowlogReset, sync, timepfadd, pfcount, pfmergeString clusterAddSlots(int... slots)
String clusterDelSlots(int... slots)
String clusterInfo()
String clusterMyId()
String clusterNodes()
List<Object> clusterSlots()
String asking()
String clusterFailover(boolean force)
String clusterReset(boolean hard)
String clusterFlushslots()
void close()
String readOnly()
String readWrite()
Copyright © 2015. All rights reserved.