public class RedisClient extends RedisClientBase
Modifier and Type | Class and Description |
---|---|
class |
RedisClient.Pipeline |
Modifier and Type | Field and Description |
---|---|
protected RedisClient.Pipeline |
pipeline |
ALPHA, AUTH, AUTH_BYTES, BY, DESC, LIMIT, pipelined, redisProtocol, STORE, version, WEIGHTS, WITHSCORES
Constructor and Description |
---|
RedisClient(String host,
int port) |
RedisClient(String host,
int port,
ExecutorService es) |
Modifier and Type | Method and Description |
---|---|
IntegerReply |
append(Object key0,
Object value1)
Append a value to a key
String
|
StatusReply |
bgrewriteaof()
Asynchronously rewrite the append-only file
Server
|
StatusReply |
bgsave()
Asynchronously save the dataset to disk
Server
|
IntegerReply |
bitcount_(Object... arguments) |
IntegerReply |
bitcount(Object key0,
Object start1,
Object end2)
Count set bits in a string
String
|
IntegerReply |
bitop_(Object... arguments) |
IntegerReply |
bitop(Object operation0,
Object destkey1,
Object... key2)
Perform bitwise operations between strings
String
|
MultiBulkReply |
blpop_(Object... arguments) |
MultiBulkReply |
blpop(Object... key0)
Remove and get the first element in a list, or block until one is available
List
|
MultiBulkReply |
brpop_(Object... arguments) |
MultiBulkReply |
brpop(Object... key0)
Remove and get the last element in a list, or block until one is available
List
|
Reply |
brpoplpush(Object source0,
Object destination1,
Object timeout2)
Pop a value from a list, push it to another list and return it; or block until one is available
List
|
Reply |
client_getname()
Get the current connection name
Server
|
Reply |
client_kill(Object ip_port0)
Kill the connection of a client
Server
|
Reply |
client_list()
Get the list of client connections
Server
|
Reply |
client_setname(Object connection_name0)
Set the current connection name
Server
|
Reply |
config_get(Object parameter0)
Get the value of a configuration parameter
Server
|
Reply |
config_resetstat()
Reset the stats returned by INFO
Server
|
Reply |
config_set(Object parameter0,
Object value1)
Set a configuration parameter to the given value
Server
|
IntegerReply |
dbsize()
Return the number of keys in the selected database
Server
|
Reply |
debug_object(Object key0)
Get debugging information about a key
Server
|
Reply |
debug_segfault()
Make the server crash
Server
|
IntegerReply |
decr(Object key0)
Decrement the integer value of a key by one
String
|
IntegerReply |
decrby(Object key0,
Object decrement1)
Decrement the integer value of a key by the given number
String
|
IntegerReply |
del_(Object... arguments) |
IntegerReply |
del(Object... key0)
Delete a key
Generic
|
BulkReply |
dump(Object key0)
Return a serialized version of the value stored at the specified key.
|
BulkReply |
echo(Object message0)
Echo the given string
Connection
|
Reply |
eval_(Object... arguments) |
Reply |
eval(Object script0,
Object numkeys1,
Object... key2)
Execute a Lua script server side
Scripting
|
Reply |
evalsha_(Object... arguments) |
Reply |
evalsha(Object sha10,
Object numkeys1,
Object... key2)
Execute a Lua script server side
Scripting
|
IntegerReply |
exists(Object key0)
Determine if a key exists
Generic
|
IntegerReply |
expire(Object key0,
Object seconds1)
Set a key's time to live in seconds
Generic
|
IntegerReply |
expireat(Object key0,
Object timestamp1)
Set the expiration for a key as a UNIX timestamp
Generic
|
StatusReply |
flushall()
Remove all keys from all databases
Server
|
StatusReply |
flushdb()
Remove all keys from the current database
Server
|
BulkReply |
get(Object key0)
Get the value of a key
String
|
IntegerReply |
getbit(Object key0,
Object offset1)
Returns the bit value at offset in the string value stored at key
String
|
BulkReply |
getrange(Object key0,
Object start1,
Object end2)
Get a substring of the string stored at a key
String
|
BulkReply |
getset(Object key0,
Object value1)
Set the string value of a key and return its old value
String
|
IntegerReply |
hdel_(Object... arguments) |
IntegerReply |
hdel(Object key0,
Object... field1)
Delete one or more hash fields
Hash
|
IntegerReply |
hexists(Object key0,
Object field1)
Determine if a hash field exists
Hash
|
BulkReply |
hget(Object key0,
Object field1)
Get the value of a hash field
Hash
|
MultiBulkReply |
hgetall(Object key0)
Get all the fields and values in a hash
Hash
|
IntegerReply |
hincrby(Object key0,
Object field1,
Object increment2)
Increment the integer value of a hash field by the given number
Hash
|
BulkReply |
hincrbyfloat(Object key0,
Object field1,
Object increment2)
Increment the float value of a hash field by the given amount
Hash
|
MultiBulkReply |
hkeys(Object key0)
Get all the fields in a hash
Hash
|
IntegerReply |
hlen(Object key0)
Get the number of fields in a hash
Hash
|
MultiBulkReply |
hmget_(Object... arguments) |
MultiBulkReply |
hmget(Object key0,
Object... field1)
Get the values of all the given hash fields
Hash
|
StatusReply |
hmset_(Object... arguments) |
StatusReply |
hmset(Object key0,
Object... field_or_value1)
Set multiple hash fields to multiple values
Hash
|
IntegerReply |
hset(Object key0,
Object field1,
Object value2)
Set the string value of a hash field
Hash
|
IntegerReply |
hsetnx(Object key0,
Object field1,
Object value2)
Set the value of a hash field, only if the field does not exist
Hash
|
MultiBulkReply |
hvals(Object key0)
Get all the values in a hash
Hash
|
IntegerReply |
incr(Object key0)
Increment the integer value of a key by one
String
|
IntegerReply |
incrby(Object key0,
Object increment1)
Increment the integer value of a key by the given amount
String
|
BulkReply |
incrbyfloat(Object key0,
Object increment1)
Increment the float value of a key by the given amount
String
|
BulkReply |
info_(Object... arguments) |
BulkReply |
info(Object section0)
Get information and statistics about the server
Server
|
MultiBulkReply |
keys(Object pattern0)
Find all keys matching the given pattern
Generic
|
IntegerReply |
lastsave()
Get the UNIX time stamp of the last successful save to disk
Server
|
BulkReply |
lindex(Object key0,
Object index1)
Get an element from a list by its index
List
|
IntegerReply |
linsert(Object key0,
Object where1,
Object pivot2,
Object value3)
Insert an element before or after another element in a list
List
|
IntegerReply |
llen(Object key0)
Get the length of a list
List
|
BulkReply |
lpop(Object key0)
Remove and get the first element in a list
List
|
IntegerReply |
lpush_(Object... arguments) |
IntegerReply |
lpush(Object key0,
Object... value1)
Prepend one or multiple values to a list
List
|
IntegerReply |
lpushx(Object key0,
Object value1)
Prepend a value to a list, only if the list exists
List
|
MultiBulkReply |
lrange(Object key0,
Object start1,
Object stop2)
Get a range of elements from a list
List
|
IntegerReply |
lrem(Object key0,
Object count1,
Object value2)
Remove elements from a list
List
|
StatusReply |
lset(Object key0,
Object index1,
Object value2)
Set the value of an element in a list by its index
List
|
StatusReply |
ltrim(Object key0,
Object start1,
Object stop2)
Trim a list to the specified range
List
|
MultiBulkReply |
mget_(Object... arguments) |
MultiBulkReply |
mget(Object... key0)
Get the values of all the given keys
String
|
StatusReply |
migrate(Object host0,
Object port1,
Object key2,
Object destination_db3,
Object timeout4)
Atomically transfer a key from a Redis instance to another one.
|
Reply |
monitor()
Listen for all requests received by the server in real time
Server
|
IntegerReply |
move(Object key0,
Object db1)
Move a key to another database
Generic
|
StatusReply |
mset_(Object... arguments) |
StatusReply |
mset(Object... key_or_value0)
Set multiple keys to multiple values
String
|
IntegerReply |
msetnx_(Object... arguments) |
IntegerReply |
msetnx(Object... key_or_value0)
Set multiple keys to multiple values, only if none of the keys exist
String
|
Reply |
object_(Object... arguments) |
Reply |
object(Object subcommand0,
Object... arguments1)
Inspect the internals of Redis objects
Generic
|
IntegerReply |
persist(Object key0)
Remove the expiration from a key
Generic
|
IntegerReply |
pexpire(Object key0,
Object milliseconds1)
Set a key's time to live in milliseconds
Generic
|
IntegerReply |
pexpireat(Object key0,
Object milliseconds_timestamp1)
Set the expiration for a key as a UNIX timestamp specified in milliseconds
Generic
|
StatusReply |
ping()
Ping the server
Connection
|
RedisClient.Pipeline |
pipeline() |
Reply |
psetex(Object key0,
Object milliseconds1,
Object value2)
Set the value and expiration in milliseconds of a key
String
|
IntegerReply |
pttl(Object key0)
Get the time to live for a key in milliseconds
Generic
|
IntegerReply |
publish(Object channel0,
Object message1)
Post a message to a channel
Pubsub
|
StatusReply |
quit()
Close the connection
Connection
|
BulkReply |
randomkey()
Return a random key from the keyspace
Generic
|
StatusReply |
rename(Object key0,
Object newkey1)
Rename a key
Generic
|
IntegerReply |
renamenx(Object key0,
Object newkey1)
Rename a key, only if the new key does not exist
Generic
|
StatusReply |
restore(Object key0,
Object ttl1,
Object serialized_value2)
Create a key using the provided serialized value, previously obtained using DUMP.
|
BulkReply |
rpop(Object key0)
Remove and get the last element in a list
List
|
BulkReply |
rpoplpush(Object source0,
Object destination1)
Remove the last element in a list, append it to another list and return it
List
|
IntegerReply |
rpush_(Object... arguments) |
IntegerReply |
rpush(Object key0,
Object... value1)
Append one or multiple values to a list
List
|
IntegerReply |
rpushx(Object key0,
Object value1)
Append a value to a list, only if the list exists
List
|
IntegerReply |
sadd_(Object... arguments) |
IntegerReply |
sadd(Object key0,
Object... member1)
Add one or more members to a set
Set
|
StatusReply |
save()
Synchronously save the dataset to disk
Server
|
IntegerReply |
scard(Object key0)
Get the number of members in a set
Set
|
Reply |
script_exists_(Object... arguments) |
Reply |
script_exists(Object... script0)
Check existence of scripts in the script cache.
|
Reply |
script_flush()
Remove all the scripts from the script cache.
|
Reply |
script_kill()
Kill the script currently in execution.
|
Reply |
script_load(Object script0)
Load the specified Lua script into the script cache.
|
MultiBulkReply |
sdiff_(Object... arguments) |
MultiBulkReply |
sdiff(Object... key0)
Subtract multiple sets
Set
|
IntegerReply |
sdiffstore_(Object... arguments) |
IntegerReply |
sdiffstore(Object destination0,
Object... key1)
Subtract multiple sets and store the resulting set in a key
Set
|
StatusReply |
select(Object index0)
Change the selected database for the current connection
Connection
|
StatusReply |
set_(Object... arguments) |
StatusReply |
set(Object key0,
Object value1,
Object... seconds2)
Set the string value of a key
String
|
IntegerReply |
setbit(Object key0,
Object offset1,
Object value2)
Sets or clears the bit at offset in the string value stored at key
String
|
StatusReply |
setex(Object key0,
Object seconds1,
Object value2)
Set the value and expiration of a key
String
|
IntegerReply |
setnx(Object key0,
Object value1)
Set the value of a key, only if the key does not exist
String
|
IntegerReply |
setrange(Object key0,
Object offset1,
Object value2)
Overwrite part of a string at key starting at the specified offset
String
|
StatusReply |
shutdown_(Object... arguments) |
StatusReply |
shutdown(Object NOSAVE0,
Object SAVE1)
Synchronously save the dataset to disk and then shut down the server
Server
|
MultiBulkReply |
sinter_(Object... arguments) |
MultiBulkReply |
sinter(Object... key0)
Intersect multiple sets
Set
|
IntegerReply |
sinterstore_(Object... arguments) |
IntegerReply |
sinterstore(Object destination0,
Object... key1)
Intersect multiple sets and store the resulting set in a key
Set
|
IntegerReply |
sismember(Object key0,
Object member1)
Determine if a given value is a member of a set
Set
|
StatusReply |
slaveof(Object host0,
Object port1)
Make the server a slave of another instance, or promote it as master
Server
|
Reply |
slowlog_(Object... arguments) |
Reply |
slowlog(Object subcommand0,
Object argument1)
Manages the Redis slow queries log
Server
|
MultiBulkReply |
smembers(Object key0)
Get all the members in a set
Set
|
IntegerReply |
smove(Object source0,
Object destination1,
Object member2)
Move a member from one set to another
Set
|
Reply |
sort_(Object... arguments) |
Reply |
sort(Object key0,
Object... pattern1)
Sort the elements in a list, set or sorted set
Generic
|
BulkReply |
spop(Object key0)
Remove and return a random member from a set
Set
|
Reply |
srandmember_(Object... arguments) |
Reply |
srandmember(Object key0,
Object count1)
Get one or multiple random members from a set
Set
|
IntegerReply |
srem_(Object... arguments) |
IntegerReply |
srem(Object key0,
Object... member1)
Remove one or more members from a set
Set
|
IntegerReply |
strlen(Object key0)
Get the length of the value stored in a key
String
|
MultiBulkReply |
sunion_(Object... arguments) |
MultiBulkReply |
sunion(Object... key0)
Add multiple sets
Set
|
IntegerReply |
sunionstore_(Object... arguments) |
IntegerReply |
sunionstore(Object destination0,
Object... key1)
Add multiple sets and store the resulting set in a key
Set
|
Reply |
sync()
Internal command used for replication
Server
|
MultiBulkReply |
time()
Return the current server time
Server
|
IntegerReply |
ttl(Object key0)
Get the time to live for a key
Generic
|
StatusReply |
type(Object key0)
Determine the type stored at key
Generic
|
StatusReply |
unwatch()
Forget about all watched keys
Transactions
|
StatusReply |
watch_(Object... arguments) |
StatusReply |
watch(Object... key0)
Watch the given keys to determine execution of the MULTI/EXEC block
Transactions
|
IntegerReply |
zadd(Object... args)
Add one or more members to a sorted set, or update its score if it already exists
Sorted_set
|
IntegerReply |
zcard(Object key0)
Get the number of members in a sorted set
Sorted_set
|
IntegerReply |
zcount(Object key0,
Object min1,
Object max2)
Count the members in a sorted set with scores within the given values
Sorted_set
|
BulkReply |
zincrby(Object key0,
Object increment1,
Object member2)
Increment the score of a member in a sorted set
Sorted_set
|
IntegerReply |
zinterstore_(Object... arguments) |
IntegerReply |
zinterstore(Object destination0,
Object numkeys1,
Object... key2)
Intersect multiple sorted sets and store the resulting sorted set in a new key
Sorted_set
|
MultiBulkReply |
zrange_(Object... arguments) |
MultiBulkReply |
zrange(Object key0,
Object start1,
Object stop2,
Object withscores3)
Return a range of members in a sorted set, by index
Sorted_set
|
MultiBulkReply |
zrangebyscore_(Object... arguments) |
MultiBulkReply |
zrangebyscore(Object key0,
Object min1,
Object max2,
Object withscores3,
Object... offset_or_count4)
Return a range of members in a sorted set, by score
Sorted_set
|
Reply |
zrank(Object key0,
Object member1)
Determine the index of a member in a sorted set
Sorted_set
|
IntegerReply |
zrem_(Object... arguments) |
IntegerReply |
zrem(Object key0,
Object... member1)
Remove one or more members from a sorted set
Sorted_set
|
IntegerReply |
zremrangebyrank(Object key0,
Object start1,
Object stop2)
Remove all members in a sorted set within the given indexes
Sorted_set
|
IntegerReply |
zremrangebyscore(Object key0,
Object min1,
Object max2)
Remove all members in a sorted set within the given scores
Sorted_set
|
MultiBulkReply |
zrevrange_(Object... arguments) |
MultiBulkReply |
zrevrange(Object key0,
Object start1,
Object stop2,
Object withscores3)
Return a range of members in a sorted set, by index, with scores ordered from high to low
Sorted_set
|
MultiBulkReply |
zrevrangebyscore_(Object... arguments) |
MultiBulkReply |
zrevrangebyscore(Object key0,
Object max1,
Object min2,
Object withscores3,
Object... offset_or_count4)
Return a range of members in a sorted set, by score, with scores ordered from high to low
Sorted_set
|
Reply |
zrevrank(Object key0,
Object member1)
Determine the index of a member in a sorted set, with scores ordered from high to low
Sorted_set
|
BulkReply |
zscore(Object key0,
Object member1)
Get the score associated with the given member in a sorted set
Sorted_set
|
IntegerReply |
zunionstore_(Object... arguments) |
IntegerReply |
zunionstore(Object destination0,
Object numkeys1,
Object... key2)
Add multiple sorted sets and store the resulting sorted set in a new key
Sorted_set
|
addListener, auth, close, discard, exec, execute, getRedisProtocol, multi, parseVersion, pipeline, psubscribe, punsubscribe, removeListener, subscribe, unsubscribe
protected RedisClient.Pipeline pipeline
public RedisClient(String host, int port) throws IOException
IOException
public RedisClient(String host, int port, ExecutorService es) throws IOException
IOException
public RedisClient.Pipeline pipeline()
public IntegerReply append(Object key0, Object value1) throws RedisException
key0
- value1
- RedisException
public IntegerReply bitcount(Object key0, Object start1, Object end2) throws RedisException
key0
- start1
- end2
- RedisException
public IntegerReply bitcount_(Object... arguments) throws RedisException
RedisException
public IntegerReply bitop(Object operation0, Object destkey1, Object... key2) throws RedisException
operation0
- destkey1
- key2
- RedisException
public IntegerReply bitop_(Object... arguments) throws RedisException
RedisException
public IntegerReply decr(Object key0) throws RedisException
key0
- RedisException
public IntegerReply decrby(Object key0, Object decrement1) throws RedisException
key0
- decrement1
- RedisException
public BulkReply get(Object key0) throws RedisException
key0
- RedisException
public IntegerReply getbit(Object key0, Object offset1) throws RedisException
key0
- offset1
- RedisException
public BulkReply getrange(Object key0, Object start1, Object end2) throws RedisException
key0
- start1
- end2
- RedisException
public BulkReply getset(Object key0, Object value1) throws RedisException
key0
- value1
- RedisException
public IntegerReply incr(Object key0) throws RedisException
key0
- RedisException
public IntegerReply incrby(Object key0, Object increment1) throws RedisException
key0
- increment1
- RedisException
public BulkReply incrbyfloat(Object key0, Object increment1) throws RedisException
key0
- increment1
- RedisException
public MultiBulkReply mget(Object... key0) throws RedisException
key0
- RedisException
public MultiBulkReply mget_(Object... arguments) throws RedisException
RedisException
public StatusReply mset(Object... key_or_value0) throws RedisException
key_or_value0
- RedisException
public StatusReply mset_(Object... arguments) throws RedisException
RedisException
public IntegerReply msetnx(Object... key_or_value0) throws RedisException
key_or_value0
- RedisException
public IntegerReply msetnx_(Object... arguments) throws RedisException
RedisException
public Reply psetex(Object key0, Object milliseconds1, Object value2) throws RedisException
key0
- milliseconds1
- value2
- RedisException
public StatusReply set(Object key0, Object value1, Object... seconds2) throws RedisException
key0
- value1
- seconds2
- RedisException
public StatusReply set_(Object... arguments) throws RedisException
RedisException
public IntegerReply setbit(Object key0, Object offset1, Object value2) throws RedisException
key0
- offset1
- value2
- RedisException
public StatusReply setex(Object key0, Object seconds1, Object value2) throws RedisException
key0
- seconds1
- value2
- RedisException
public IntegerReply setnx(Object key0, Object value1) throws RedisException
key0
- value1
- RedisException
public IntegerReply setrange(Object key0, Object offset1, Object value2) throws RedisException
key0
- offset1
- value2
- RedisException
public IntegerReply strlen(Object key0) throws RedisException
key0
- RedisException
public BulkReply echo(Object message0) throws RedisException
message0
- RedisException
public StatusReply ping() throws RedisException
RedisException
public StatusReply quit() throws RedisException
RedisException
public StatusReply select(Object index0) throws RedisException
index0
- RedisException
public StatusReply bgrewriteaof() throws RedisException
RedisException
public StatusReply bgsave() throws RedisException
RedisException
public Reply client_kill(Object ip_port0) throws RedisException
ip_port0
- RedisException
public Reply client_list() throws RedisException
RedisException
public Reply client_getname() throws RedisException
RedisException
public Reply client_setname(Object connection_name0) throws RedisException
connection_name0
- RedisException
public Reply config_get(Object parameter0) throws RedisException
parameter0
- RedisException
public Reply config_set(Object parameter0, Object value1) throws RedisException
parameter0
- value1
- RedisException
public Reply config_resetstat() throws RedisException
RedisException
public IntegerReply dbsize() throws RedisException
RedisException
public Reply debug_object(Object key0) throws RedisException
key0
- RedisException
public Reply debug_segfault() throws RedisException
RedisException
public StatusReply flushall() throws RedisException
RedisException
public StatusReply flushdb() throws RedisException
RedisException
public BulkReply info(Object section0) throws RedisException
section0
- RedisException
public BulkReply info_(Object... arguments) throws RedisException
RedisException
public IntegerReply lastsave() throws RedisException
RedisException
public Reply monitor() throws RedisException
RedisException
public StatusReply save() throws RedisException
RedisException
public StatusReply shutdown(Object NOSAVE0, Object SAVE1) throws RedisException
NOSAVE0
- SAVE1
- RedisException
public StatusReply shutdown_(Object... arguments) throws RedisException
RedisException
public StatusReply slaveof(Object host0, Object port1) throws RedisException
host0
- port1
- RedisException
public Reply slowlog(Object subcommand0, Object argument1) throws RedisException
subcommand0
- argument1
- RedisException
public Reply slowlog_(Object... arguments) throws RedisException
RedisException
public Reply sync() throws RedisException
RedisException
public MultiBulkReply time() throws RedisException
RedisException
public MultiBulkReply blpop(Object... key0) throws RedisException
key0
- RedisException
public MultiBulkReply blpop_(Object... arguments) throws RedisException
RedisException
public MultiBulkReply brpop(Object... key0) throws RedisException
key0
- RedisException
public MultiBulkReply brpop_(Object... arguments) throws RedisException
RedisException
public Reply brpoplpush(Object source0, Object destination1, Object timeout2) throws RedisException
source0
- destination1
- timeout2
- RedisException
public BulkReply lindex(Object key0, Object index1) throws RedisException
key0
- index1
- RedisException
public IntegerReply linsert(Object key0, Object where1, Object pivot2, Object value3) throws RedisException
key0
- where1
- pivot2
- value3
- RedisException
public IntegerReply llen(Object key0) throws RedisException
key0
- RedisException
public BulkReply lpop(Object key0) throws RedisException
key0
- RedisException
public IntegerReply lpush(Object key0, Object... value1) throws RedisException
key0
- value1
- RedisException
public IntegerReply lpush_(Object... arguments) throws RedisException
RedisException
public IntegerReply lpushx(Object key0, Object value1) throws RedisException
key0
- value1
- RedisException
public MultiBulkReply lrange(Object key0, Object start1, Object stop2) throws RedisException
key0
- start1
- stop2
- RedisException
public IntegerReply lrem(Object key0, Object count1, Object value2) throws RedisException
key0
- count1
- value2
- RedisException
public StatusReply lset(Object key0, Object index1, Object value2) throws RedisException
key0
- index1
- value2
- RedisException
public StatusReply ltrim(Object key0, Object start1, Object stop2) throws RedisException
key0
- start1
- stop2
- RedisException
public BulkReply rpop(Object key0) throws RedisException
key0
- RedisException
public BulkReply rpoplpush(Object source0, Object destination1) throws RedisException
source0
- destination1
- RedisException
public IntegerReply rpush(Object key0, Object... value1) throws RedisException
key0
- value1
- RedisException
public IntegerReply rpush_(Object... arguments) throws RedisException
RedisException
public IntegerReply rpushx(Object key0, Object value1) throws RedisException
key0
- value1
- RedisException
public IntegerReply del(Object... key0) throws RedisException
key0
- RedisException
public IntegerReply del_(Object... arguments) throws RedisException
RedisException
public BulkReply dump(Object key0) throws RedisException
key0
- RedisException
public IntegerReply exists(Object key0) throws RedisException
key0
- RedisException
public IntegerReply expire(Object key0, Object seconds1) throws RedisException
key0
- seconds1
- RedisException
public IntegerReply expireat(Object key0, Object timestamp1) throws RedisException
key0
- timestamp1
- RedisException
public MultiBulkReply keys(Object pattern0) throws RedisException
pattern0
- RedisException
public StatusReply migrate(Object host0, Object port1, Object key2, Object destination_db3, Object timeout4) throws RedisException
host0
- port1
- key2
- destination_db3
- timeout4
- RedisException
public IntegerReply move(Object key0, Object db1) throws RedisException
key0
- db1
- RedisException
public Reply object(Object subcommand0, Object... arguments1) throws RedisException
subcommand0
- arguments1
- RedisException
public Reply object_(Object... arguments) throws RedisException
RedisException
public IntegerReply persist(Object key0) throws RedisException
key0
- RedisException
public IntegerReply pexpire(Object key0, Object milliseconds1) throws RedisException
key0
- milliseconds1
- RedisException
public IntegerReply pexpireat(Object key0, Object milliseconds_timestamp1) throws RedisException
key0
- milliseconds_timestamp1
- RedisException
public IntegerReply pttl(Object key0) throws RedisException
key0
- RedisException
public BulkReply randomkey() throws RedisException
RedisException
public StatusReply rename(Object key0, Object newkey1) throws RedisException
key0
- newkey1
- RedisException
public IntegerReply renamenx(Object key0, Object newkey1) throws RedisException
key0
- newkey1
- RedisException
public StatusReply restore(Object key0, Object ttl1, Object serialized_value2) throws RedisException
key0
- ttl1
- serialized_value2
- RedisException
public Reply sort(Object key0, Object... pattern1) throws RedisException
key0
- pattern1
- RedisException
public Reply sort_(Object... arguments) throws RedisException
RedisException
public IntegerReply ttl(Object key0) throws RedisException
key0
- RedisException
public StatusReply type(Object key0) throws RedisException
key0
- RedisException
public StatusReply unwatch() throws RedisException
RedisException
public StatusReply watch(Object... key0) throws RedisException
key0
- RedisException
public StatusReply watch_(Object... arguments) throws RedisException
RedisException
public Reply eval(Object script0, Object numkeys1, Object... key2) throws RedisException
script0
- numkeys1
- key2
- RedisException
public Reply eval_(Object... arguments) throws RedisException
RedisException
public Reply evalsha(Object sha10, Object numkeys1, Object... key2) throws RedisException
sha10
- numkeys1
- key2
- RedisException
public Reply evalsha_(Object... arguments) throws RedisException
RedisException
public Reply script_exists(Object... script0) throws RedisException
script0
- RedisException
public Reply script_exists_(Object... arguments) throws RedisException
RedisException
public Reply script_flush() throws RedisException
RedisException
public Reply script_kill() throws RedisException
RedisException
public Reply script_load(Object script0) throws RedisException
script0
- RedisException
public IntegerReply hdel(Object key0, Object... field1) throws RedisException
key0
- field1
- RedisException
public IntegerReply hdel_(Object... arguments) throws RedisException
RedisException
public IntegerReply hexists(Object key0, Object field1) throws RedisException
key0
- field1
- RedisException
public BulkReply hget(Object key0, Object field1) throws RedisException
key0
- field1
- RedisException
public MultiBulkReply hgetall(Object key0) throws RedisException
key0
- RedisException
public IntegerReply hincrby(Object key0, Object field1, Object increment2) throws RedisException
key0
- field1
- increment2
- RedisException
public BulkReply hincrbyfloat(Object key0, Object field1, Object increment2) throws RedisException
key0
- field1
- increment2
- RedisException
public MultiBulkReply hkeys(Object key0) throws RedisException
key0
- RedisException
public IntegerReply hlen(Object key0) throws RedisException
key0
- RedisException
public MultiBulkReply hmget(Object key0, Object... field1) throws RedisException
key0
- field1
- RedisException
public MultiBulkReply hmget_(Object... arguments) throws RedisException
RedisException
public StatusReply hmset(Object key0, Object... field_or_value1) throws RedisException
key0
- field_or_value1
- RedisException
public StatusReply hmset_(Object... arguments) throws RedisException
RedisException
public IntegerReply hset(Object key0, Object field1, Object value2) throws RedisException
key0
- field1
- value2
- RedisException
public IntegerReply hsetnx(Object key0, Object field1, Object value2) throws RedisException
key0
- field1
- value2
- RedisException
public MultiBulkReply hvals(Object key0) throws RedisException
key0
- RedisException
public IntegerReply publish(Object channel0, Object message1) throws RedisException
channel0
- message1
- RedisException
public IntegerReply sadd(Object key0, Object... member1) throws RedisException
key0
- member1
- RedisException
public IntegerReply sadd_(Object... arguments) throws RedisException
RedisException
public IntegerReply scard(Object key0) throws RedisException
key0
- RedisException
public MultiBulkReply sdiff(Object... key0) throws RedisException
key0
- RedisException
public MultiBulkReply sdiff_(Object... arguments) throws RedisException
RedisException
public IntegerReply sdiffstore(Object destination0, Object... key1) throws RedisException
destination0
- key1
- RedisException
public IntegerReply sdiffstore_(Object... arguments) throws RedisException
RedisException
public MultiBulkReply sinter(Object... key0) throws RedisException
key0
- RedisException
public MultiBulkReply sinter_(Object... arguments) throws RedisException
RedisException
public IntegerReply sinterstore(Object destination0, Object... key1) throws RedisException
destination0
- key1
- RedisException
public IntegerReply sinterstore_(Object... arguments) throws RedisException
RedisException
public IntegerReply sismember(Object key0, Object member1) throws RedisException
key0
- member1
- RedisException
public MultiBulkReply smembers(Object key0) throws RedisException
key0
- RedisException
public IntegerReply smove(Object source0, Object destination1, Object member2) throws RedisException
source0
- destination1
- member2
- RedisException
public BulkReply spop(Object key0) throws RedisException
key0
- RedisException
public Reply srandmember(Object key0, Object count1) throws RedisException
key0
- count1
- RedisException
public Reply srandmember_(Object... arguments) throws RedisException
RedisException
public IntegerReply srem(Object key0, Object... member1) throws RedisException
key0
- member1
- RedisException
public IntegerReply srem_(Object... arguments) throws RedisException
RedisException
public MultiBulkReply sunion(Object... key0) throws RedisException
key0
- RedisException
public MultiBulkReply sunion_(Object... arguments) throws RedisException
RedisException
public IntegerReply sunionstore(Object destination0, Object... key1) throws RedisException
destination0
- key1
- RedisException
public IntegerReply sunionstore_(Object... arguments) throws RedisException
RedisException
public IntegerReply zadd(Object... args) throws RedisException
args
- RedisException
public IntegerReply zcard(Object key0) throws RedisException
key0
- RedisException
public IntegerReply zcount(Object key0, Object min1, Object max2) throws RedisException
key0
- min1
- max2
- RedisException
public BulkReply zincrby(Object key0, Object increment1, Object member2) throws RedisException
key0
- increment1
- member2
- RedisException
public IntegerReply zinterstore(Object destination0, Object numkeys1, Object... key2) throws RedisException
destination0
- numkeys1
- key2
- RedisException
public IntegerReply zinterstore_(Object... arguments) throws RedisException
RedisException
public MultiBulkReply zrange(Object key0, Object start1, Object stop2, Object withscores3) throws RedisException
key0
- start1
- stop2
- withscores3
- RedisException
public MultiBulkReply zrange_(Object... arguments) throws RedisException
RedisException
public MultiBulkReply zrangebyscore(Object key0, Object min1, Object max2, Object withscores3, Object... offset_or_count4) throws RedisException
key0
- min1
- max2
- withscores3
- offset_or_count4
- RedisException
public MultiBulkReply zrangebyscore_(Object... arguments) throws RedisException
RedisException
public Reply zrank(Object key0, Object member1) throws RedisException
key0
- member1
- RedisException
public IntegerReply zrem(Object key0, Object... member1) throws RedisException
key0
- member1
- RedisException
public IntegerReply zrem_(Object... arguments) throws RedisException
RedisException
public IntegerReply zremrangebyrank(Object key0, Object start1, Object stop2) throws RedisException
key0
- start1
- stop2
- RedisException
public IntegerReply zremrangebyscore(Object key0, Object min1, Object max2) throws RedisException
key0
- min1
- max2
- RedisException
public MultiBulkReply zrevrange(Object key0, Object start1, Object stop2, Object withscores3) throws RedisException
key0
- start1
- stop2
- withscores3
- RedisException
public MultiBulkReply zrevrange_(Object... arguments) throws RedisException
RedisException
public MultiBulkReply zrevrangebyscore(Object key0, Object max1, Object min2, Object withscores3, Object... offset_or_count4) throws RedisException
key0
- max1
- min2
- withscores3
- offset_or_count4
- RedisException
public MultiBulkReply zrevrangebyscore_(Object... arguments) throws RedisException
RedisException
public Reply zrevrank(Object key0, Object member1) throws RedisException
key0
- member1
- RedisException
public BulkReply zscore(Object key0, Object member1) throws RedisException
key0
- member1
- RedisException
public IntegerReply zunionstore(Object destination0, Object numkeys1, Object... key2) throws RedisException
destination0
- numkeys1
- key2
- RedisException
public IntegerReply zunionstore_(Object... arguments) throws RedisException
RedisException
Copyright © 2015. All rights reserved.