|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Session
| Method Summary | |
|---|---|
void |
close()
|
String |
discard()
Flushes all previously queued commands in a transaction and restores the connection state to normal. |
List<Object> |
exec()
Executes all previously queued commands in a transaction and restores the connection state to normal. |
String |
multi()
Marks the start of a transaction block. |
String |
select(int index)
|
String |
unwatch()
O(1). |
String |
watch(String... keys)
O(1) for every keys. |
| Methods inherited from interface org.idevlab.rjc.SingleRedisOperations |
|---|
auth, bgrewriteaof, bgsave, blpop, brpop, brpoplpush, configGet, configSet, dbSize, debug, echo, flushAll, flushDB, info, lastsave, mget, monitor, move, mset, msetnx, ping, pipeline, quit, randomKey, rename, renamenx, rpoplpush, save, sdiff, sdiffstore, shutdown, sinter, sinterstore, slaveof, slaveofNoOne, smove, sort, sort, sunion, sunionstore, sync, zinterstore, zinterstore, zunionstore, zunionstore |
| Methods inherited from interface org.idevlab.rjc.RedisOperations |
|---|
append, decr, decrBy, del, exists, expire, expireAt, get, getBit, getRange, getSet, hdel, hexists, hget, hgetAll, hincrBy, hkeys, hlen, hmget, hmset, hset, hsetnx, hvals, incr, incrBy, keys, lindex, linsert, llen, lpop, lpush, lpushx, lrange, lrem, lset, ltrim, persist, publish, rpop, rpush, rpushx, sadd, scard, set, setBit, setex, setnx, setRange, sismember, smembers, sort, sort, spop, srandmember, srem, strlen, ttl, type, zadd, zcard, zcount, zincrby, zrange, zrangeByScore, zrangeByScore, zrangeByScoreWithScores, zrangeByScoreWithScores, zrangeWithScores, zrank, zrem, zremrangeByRank, zremrangeByScore, zrevrange, zrevrangeByScore, zrevrangeByScore, zrevrangeByScoreWithScores, zrevrangeByScoreWithScores, zrevrangeWithScores, zrevrank, zscore |
| Method Detail |
|---|
String select(int index)
String multi()
String discard()
String watch(String... keys)
keys - keys to be watched
String unwatch()
List<Object> exec()
void close()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||