| Package | Description |
|---|---|
| redis.client |
| Modifier and Type | Method and Description |
|---|---|
IntegerReply |
RedisClient.append(java.lang.Object key0,
java.lang.Object value1)
Append a value to a key
String
|
IntegerReply |
RedisClient.bitcount_(java.lang.Object... arguments) |
IntegerReply |
RedisClient.bitcount(java.lang.Object key0,
java.lang.Object start1,
java.lang.Object end2)
Count set bits in a string
String
|
IntegerReply |
RedisClient.bitop_(java.lang.Object... arguments) |
IntegerReply |
RedisClient.bitop(java.lang.Object operation0,
java.lang.Object destkey1,
java.lang.Object... key2)
Perform bitwise operations between strings
String
|
IntegerReply |
RedisClient.dbsize()
Return the number of keys in the selected database
Server
|
IntegerReply |
RedisClient.decr(java.lang.Object key0)
Decrement the integer value of a key by one
String
|
IntegerReply |
RedisClient.decrby(java.lang.Object key0,
java.lang.Object decrement1)
Decrement the integer value of a key by the given number
String
|
IntegerReply |
RedisClient.del_(java.lang.Object... arguments) |
IntegerReply |
RedisClient.del(java.lang.Object... key0)
Delete a key
Generic
|
IntegerReply |
RedisClient.exists(java.lang.Object key0)
Determine if a key exists
Generic
|
IntegerReply |
RedisClient.expire(java.lang.Object key0,
java.lang.Object seconds1)
Set a key's time to live in seconds
Generic
|
IntegerReply |
RedisClient.expireat(java.lang.Object key0,
java.lang.Object timestamp1)
Set the expiration for a key as a UNIX timestamp
Generic
|
IntegerReply |
RedisClient.getbit(java.lang.Object key0,
java.lang.Object offset1)
Returns the bit value at offset in the string value stored at key
String
|
IntegerReply |
RedisClient.hdel_(java.lang.Object... arguments) |
IntegerReply |
RedisClient.hdel(java.lang.Object key0,
java.lang.Object... field1)
Delete one or more hash fields
Hash
|
IntegerReply |
RedisClient.hexists(java.lang.Object key0,
java.lang.Object field1)
Determine if a hash field exists
Hash
|
IntegerReply |
RedisClient.hincrby(java.lang.Object key0,
java.lang.Object field1,
java.lang.Object increment2)
Increment the integer value of a hash field by the given number
Hash
|
IntegerReply |
RedisClient.hlen(java.lang.Object key0)
Get the number of fields in a hash
Hash
|
IntegerReply |
RedisClient.hset(java.lang.Object key0,
java.lang.Object field1,
java.lang.Object value2)
Set the string value of a hash field
Hash
|
IntegerReply |
RedisClient.hsetnx(java.lang.Object key0,
java.lang.Object field1,
java.lang.Object value2)
Set the value of a hash field, only if the field does not exist
Hash
|
IntegerReply |
RedisClient.incr(java.lang.Object key0)
Increment the integer value of a key by one
String
|
IntegerReply |
RedisClient.incrby(java.lang.Object key0,
java.lang.Object increment1)
Increment the integer value of a key by the given amount
String
|
IntegerReply |
RedisClient.lastsave()
Get the UNIX time stamp of the last successful save to disk
Server
|
IntegerReply |
RedisClient.linsert(java.lang.Object key0,
java.lang.Object where1,
java.lang.Object pivot2,
java.lang.Object value3)
Insert an element before or after another element in a list
List
|
IntegerReply |
RedisClient.llen(java.lang.Object key0)
Get the length of a list
List
|
IntegerReply |
RedisClient.lpush_(java.lang.Object... arguments) |
IntegerReply |
RedisClient.lpush(java.lang.Object key0,
java.lang.Object... value1)
Prepend one or multiple values to a list
List
|
IntegerReply |
RedisClient.lpushx(java.lang.Object key0,
java.lang.Object value1)
Prepend a value to a list, only if the list exists
List
|
IntegerReply |
RedisClient.lrem(java.lang.Object key0,
java.lang.Object count1,
java.lang.Object value2)
Remove elements from a list
List
|
IntegerReply |
RedisClient.move(java.lang.Object key0,
java.lang.Object db1)
Move a key to another database
Generic
|
IntegerReply |
RedisClient.msetnx_(java.lang.Object... arguments) |
IntegerReply |
RedisClient.msetnx(java.lang.Object... key_or_value0)
Set multiple keys to multiple values, only if none of the keys exist
String
|
IntegerReply |
RedisClient.persist(java.lang.Object key0)
Remove the expiration from a key
Generic
|
IntegerReply |
RedisClient.pexpire(java.lang.Object key0,
java.lang.Object milliseconds1)
Set a key's time to live in milliseconds
Generic
|
IntegerReply |
RedisClient.pexpireat(java.lang.Object key0,
java.lang.Object milliseconds_timestamp1)
Set the expiration for a key as a UNIX timestamp specified in milliseconds
Generic
|
IntegerReply |
RedisClient.pttl(java.lang.Object key0)
Get the time to live for a key in milliseconds
Generic
|
IntegerReply |
RedisClient.publish(java.lang.Object channel0,
java.lang.Object message1)
Post a message to a channel
Pubsub
|
IntegerReply |
RedisClient.renamenx(java.lang.Object key0,
java.lang.Object newkey1)
Rename a key, only if the new key does not exist
Generic
|
IntegerReply |
RedisClient.rpush_(java.lang.Object... arguments) |
IntegerReply |
RedisClient.rpush(java.lang.Object key0,
java.lang.Object... value1)
Append one or multiple values to a list
List
|
IntegerReply |
RedisClient.rpushx(java.lang.Object key0,
java.lang.Object value1)
Append a value to a list, only if the list exists
List
|
IntegerReply |
RedisClient.sadd_(java.lang.Object... arguments) |
IntegerReply |
RedisClient.sadd(java.lang.Object key0,
java.lang.Object... member1)
Add one or more members to a set
Set
|
IntegerReply |
RedisClient.scard(java.lang.Object key0)
Get the number of members in a set
Set
|
IntegerReply |
RedisClient.sdiffstore_(java.lang.Object... arguments) |
IntegerReply |
RedisClient.sdiffstore(java.lang.Object destination0,
java.lang.Object... key1)
Subtract multiple sets and store the resulting set in a key
Set
|
IntegerReply |
RedisClient.setbit(java.lang.Object key0,
java.lang.Object offset1,
java.lang.Object value2)
Sets or clears the bit at offset in the string value stored at key
String
|
IntegerReply |
RedisClient.setnx(java.lang.Object key0,
java.lang.Object value1)
Set the value of a key, only if the key does not exist
String
|
IntegerReply |
RedisClient.setrange(java.lang.Object key0,
java.lang.Object offset1,
java.lang.Object value2)
Overwrite part of a string at key starting at the specified offset
String
|
IntegerReply |
RedisClient.sinterstore_(java.lang.Object... arguments) |
IntegerReply |
RedisClient.sinterstore(java.lang.Object destination0,
java.lang.Object... key1)
Intersect multiple sets and store the resulting set in a key
Set
|
IntegerReply |
RedisClient.sismember(java.lang.Object key0,
java.lang.Object member1)
Determine if a given value is a member of a set
Set
|
IntegerReply |
RedisClient.smove(java.lang.Object source0,
java.lang.Object destination1,
java.lang.Object member2)
Move a member from one set to another
Set
|
IntegerReply |
RedisClient.srem_(java.lang.Object... arguments) |
IntegerReply |
RedisClient.srem(java.lang.Object key0,
java.lang.Object... member1)
Remove one or more members from a set
Set
|
IntegerReply |
RedisClient.strlen(java.lang.Object key0)
Get the length of the value stored in a key
String
|
IntegerReply |
RedisClient.sunionstore_(java.lang.Object... arguments) |
IntegerReply |
RedisClient.sunionstore(java.lang.Object destination0,
java.lang.Object... key1)
Add multiple sets and store the resulting set in a key
Set
|
IntegerReply |
RedisClient.ttl(java.lang.Object key0)
Get the time to live for a key
Generic
|
IntegerReply |
RedisClient.zadd(java.lang.Object... args)
Add one or more members to a sorted set, or update its score if it already exists
Sorted_set
|
IntegerReply |
RedisClient.zcard(java.lang.Object key0)
Get the number of members in a sorted set
Sorted_set
|
IntegerReply |
RedisClient.zcount(java.lang.Object key0,
java.lang.Object min1,
java.lang.Object max2)
Count the members in a sorted set with scores within the given values
Sorted_set
|
IntegerReply |
RedisClient.zinterstore_(java.lang.Object... arguments) |
IntegerReply |
RedisClient.zinterstore(java.lang.Object destination0,
java.lang.Object numkeys1,
java.lang.Object... key2)
Intersect multiple sorted sets and store the resulting sorted set in a new key
Sorted_set
|
IntegerReply |
RedisClient.zrem_(java.lang.Object... arguments) |
IntegerReply |
RedisClient.zrem(java.lang.Object key0,
java.lang.Object... member1)
Remove one or more members from a sorted set
Sorted_set
|
IntegerReply |
RedisClient.zremrangebyrank(java.lang.Object key0,
java.lang.Object start1,
java.lang.Object stop2)
Remove all members in a sorted set within the given indexes
Sorted_set
|
IntegerReply |
RedisClient.zremrangebyscore(java.lang.Object key0,
java.lang.Object min1,
java.lang.Object max2)
Remove all members in a sorted set within the given scores
Sorted_set
|
IntegerReply |
RedisClient.zunionstore_(java.lang.Object... arguments) |
IntegerReply |
RedisClient.zunionstore(java.lang.Object destination0,
java.lang.Object numkeys1,
java.lang.Object... key2)
Add multiple sorted sets and store the resulting sorted set in a new key
Sorted_set
|
| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.ListenableFuture<IntegerReply> |
RedisClient.Pipeline.append(java.lang.Object key0,
java.lang.Object value1)
Append a value to a key
String
|
com.google.common.util.concurrent.ListenableFuture<IntegerReply> |
RedisClient.Pipeline.bitcount_(java.lang.Object... arguments) |
com.google.common.util.concurrent.ListenableFuture<IntegerReply> |
RedisClient.Pipeline.bitcount(java.lang.Object key0,
java.lang.Object start1,
java.lang.Object end2)
Count set bits in a string
String
|
com.google.common.util.concurrent.ListenableFuture<IntegerReply> |
RedisClient.Pipeline.bitop_(java.lang.Object... arguments) |
com.google.common.util.concurrent.ListenableFuture<IntegerReply> |
RedisClient.Pipeline.bitop(java.lang.Object operation0,
java.lang.Object destkey1,
java.lang.Object... key2)
Perform bitwise operations between strings
String
|
com.google.common.util.concurrent.ListenableFuture<IntegerReply> |
RedisClient.Pipeline.dbsize()
Return the number of keys in the selected database
Server
|
com.google.common.util.concurrent.ListenableFuture<IntegerReply> |
RedisClient.Pipeline.decr(java.lang.Object key0)
Decrement the integer value of a key by one
String
|
com.google.common.util.concurrent.ListenableFuture<IntegerReply> |
RedisClient.Pipeline.decrby(java.lang.Object key0,
java.lang.Object decrement1)
Decrement the integer value of a key by the given number
String
|
com.google.common.util.concurrent.ListenableFuture<IntegerReply> |
RedisClient.Pipeline.del_(java.lang.Object... arguments) |
com.google.common.util.concurrent.ListenableFuture<IntegerReply> |
RedisClient.Pipeline.del(java.lang.Object... key0)
Delete a key
Generic
|
com.google.common.util.concurrent.ListenableFuture<IntegerReply> |
RedisClient.Pipeline.exists(java.lang.Object key0)
Determine if a key exists
Generic
|
com.google.common.util.concurrent.ListenableFuture<IntegerReply> |
RedisClient.Pipeline.expire(java.lang.Object key0,
java.lang.Object seconds1)
Set a key's time to live in seconds
Generic
|
com.google.common.util.concurrent.ListenableFuture<IntegerReply> |
RedisClient.Pipeline.expireat(java.lang.Object key0,
java.lang.Object timestamp1)
Set the expiration for a key as a UNIX timestamp
Generic
|
com.google.common.util.concurrent.ListenableFuture<IntegerReply> |
RedisClient.Pipeline.getbit(java.lang.Object key0,
java.lang.Object offset1)
Returns the bit value at offset in the string value stored at key
String
|
com.google.common.util.concurrent.ListenableFuture<IntegerReply> |
RedisClient.Pipeline.hdel_(java.lang.Object... arguments) |
com.google.common.util.concurrent.ListenableFuture<IntegerReply> |
RedisClient.Pipeline.hdel(java.lang.Object key0,
java.lang.Object... field1)
Delete one or more hash fields
Hash
|
com.google.common.util.concurrent.ListenableFuture<IntegerReply> |
RedisClient.Pipeline.hexists(java.lang.Object key0,
java.lang.Object field1)
Determine if a hash field exists
Hash
|
com.google.common.util.concurrent.ListenableFuture<IntegerReply> |
RedisClient.Pipeline.hincrby(java.lang.Object key0,
java.lang.Object field1,
java.lang.Object increment2)
Increment the integer value of a hash field by the given number
Hash
|
com.google.common.util.concurrent.ListenableFuture<IntegerReply> |
RedisClient.Pipeline.hlen(java.lang.Object key0)
Get the number of fields in a hash
Hash
|
com.google.common.util.concurrent.ListenableFuture<IntegerReply> |
RedisClient.Pipeline.hset(java.lang.Object key0,
java.lang.Object field1,
java.lang.Object value2)
Set the string value of a hash field
Hash
|
com.google.common.util.concurrent.ListenableFuture<IntegerReply> |
RedisClient.Pipeline.hsetnx(java.lang.Object key0,
java.lang.Object field1,
java.lang.Object value2)
Set the value of a hash field, only if the field does not exist
Hash
|
com.google.common.util.concurrent.ListenableFuture<IntegerReply> |
RedisClient.Pipeline.incr(java.lang.Object key0)
Increment the integer value of a key by one
String
|
com.google.common.util.concurrent.ListenableFuture<IntegerReply> |
RedisClient.Pipeline.incrby(java.lang.Object key0,
java.lang.Object increment1)
Increment the integer value of a key by the given amount
String
|
com.google.common.util.concurrent.ListenableFuture<IntegerReply> |
RedisClient.Pipeline.lastsave()
Get the UNIX time stamp of the last successful save to disk
Server
|
com.google.common.util.concurrent.ListenableFuture<IntegerReply> |
RedisClient.Pipeline.linsert(java.lang.Object key0,
java.lang.Object where1,
java.lang.Object pivot2,
java.lang.Object value3)
Insert an element before or after another element in a list
List
|
com.google.common.util.concurrent.ListenableFuture<IntegerReply> |
RedisClient.Pipeline.llen(java.lang.Object key0)
Get the length of a list
List
|
com.google.common.util.concurrent.ListenableFuture<IntegerReply> |
RedisClient.Pipeline.lpush_(java.lang.Object... arguments) |
com.google.common.util.concurrent.ListenableFuture<IntegerReply> |
RedisClient.Pipeline.lpush(java.lang.Object key0,
java.lang.Object... value1)
Prepend one or multiple values to a list
List
|
com.google.common.util.concurrent.ListenableFuture<IntegerReply> |
RedisClient.Pipeline.lpushx(java.lang.Object key0,
java.lang.Object value1)
Prepend a value to a list, only if the list exists
List
|
com.google.common.util.concurrent.ListenableFuture<IntegerReply> |
RedisClient.Pipeline.lrem(java.lang.Object key0,
java.lang.Object count1,
java.lang.Object value2)
Remove elements from a list
List
|
com.google.common.util.concurrent.ListenableFuture<IntegerReply> |
RedisClient.Pipeline.move(java.lang.Object key0,
java.lang.Object db1)
Move a key to another database
Generic
|
com.google.common.util.concurrent.ListenableFuture<IntegerReply> |
RedisClient.Pipeline.msetnx_(java.lang.Object... arguments) |
com.google.common.util.concurrent.ListenableFuture<IntegerReply> |
RedisClient.Pipeline.msetnx(java.lang.Object... key_or_value0)
Set multiple keys to multiple values, only if none of the keys exist
String
|
com.google.common.util.concurrent.ListenableFuture<IntegerReply> |
RedisClient.Pipeline.persist(java.lang.Object key0)
Remove the expiration from a key
Generic
|
com.google.common.util.concurrent.ListenableFuture<IntegerReply> |
RedisClient.Pipeline.pexpire(java.lang.Object key0,
java.lang.Object milliseconds1)
Set a key's time to live in milliseconds
Generic
|
com.google.common.util.concurrent.ListenableFuture<IntegerReply> |
RedisClient.Pipeline.pexpireat(java.lang.Object key0,
java.lang.Object milliseconds_timestamp1)
Set the expiration for a key as a UNIX timestamp specified in milliseconds
Generic
|
com.google.common.util.concurrent.ListenableFuture<IntegerReply> |
RedisClient.Pipeline.pttl(java.lang.Object key0)
Get the time to live for a key in milliseconds
Generic
|
com.google.common.util.concurrent.ListenableFuture<IntegerReply> |
RedisClient.Pipeline.publish(java.lang.Object channel0,
java.lang.Object message1)
Post a message to a channel
Pubsub
|
com.google.common.util.concurrent.ListenableFuture<IntegerReply> |
RedisClient.Pipeline.renamenx(java.lang.Object key0,
java.lang.Object newkey1)
Rename a key, only if the new key does not exist
Generic
|
com.google.common.util.concurrent.ListenableFuture<IntegerReply> |
RedisClient.Pipeline.rpush_(java.lang.Object... arguments) |
com.google.common.util.concurrent.ListenableFuture<IntegerReply> |
RedisClient.Pipeline.rpush(java.lang.Object key0,
java.lang.Object... value1)
Append one or multiple values to a list
List
|
com.google.common.util.concurrent.ListenableFuture<IntegerReply> |
RedisClient.Pipeline.rpushx(java.lang.Object key0,
java.lang.Object value1)
Append a value to a list, only if the list exists
List
|
com.google.common.util.concurrent.ListenableFuture<IntegerReply> |
RedisClient.Pipeline.sadd_(java.lang.Object... arguments) |
com.google.common.util.concurrent.ListenableFuture<IntegerReply> |
RedisClient.Pipeline.sadd(java.lang.Object key0,
java.lang.Object... member1)
Add one or more members to a set
Set
|
com.google.common.util.concurrent.ListenableFuture<IntegerReply> |
RedisClient.Pipeline.scard(java.lang.Object key0)
Get the number of members in a set
Set
|
com.google.common.util.concurrent.ListenableFuture<IntegerReply> |
RedisClient.Pipeline.sdiffstore_(java.lang.Object... arguments) |
com.google.common.util.concurrent.ListenableFuture<IntegerReply> |
RedisClient.Pipeline.sdiffstore(java.lang.Object destination0,
java.lang.Object... key1)
Subtract multiple sets and store the resulting set in a key
Set
|
com.google.common.util.concurrent.ListenableFuture<IntegerReply> |
RedisClient.Pipeline.setbit(java.lang.Object key0,
java.lang.Object offset1,
java.lang.Object value2)
Sets or clears the bit at offset in the string value stored at key
String
|
com.google.common.util.concurrent.ListenableFuture<IntegerReply> |
RedisClient.Pipeline.setnx(java.lang.Object key0,
java.lang.Object value1)
Set the value of a key, only if the key does not exist
String
|
com.google.common.util.concurrent.ListenableFuture<IntegerReply> |
RedisClient.Pipeline.setrange(java.lang.Object key0,
java.lang.Object offset1,
java.lang.Object value2)
Overwrite part of a string at key starting at the specified offset
String
|
com.google.common.util.concurrent.ListenableFuture<IntegerReply> |
RedisClient.Pipeline.sinterstore_(java.lang.Object... arguments) |
com.google.common.util.concurrent.ListenableFuture<IntegerReply> |
RedisClient.Pipeline.sinterstore(java.lang.Object destination0,
java.lang.Object... key1)
Intersect multiple sets and store the resulting set in a key
Set
|
com.google.common.util.concurrent.ListenableFuture<IntegerReply> |
RedisClient.Pipeline.sismember(java.lang.Object key0,
java.lang.Object member1)
Determine if a given value is a member of a set
Set
|
com.google.common.util.concurrent.ListenableFuture<IntegerReply> |
RedisClient.Pipeline.smove(java.lang.Object source0,
java.lang.Object destination1,
java.lang.Object member2)
Move a member from one set to another
Set
|
com.google.common.util.concurrent.ListenableFuture<IntegerReply> |
RedisClient.Pipeline.srem_(java.lang.Object... arguments) |
com.google.common.util.concurrent.ListenableFuture<IntegerReply> |
RedisClient.Pipeline.srem(java.lang.Object key0,
java.lang.Object... member1)
Remove one or more members from a set
Set
|
com.google.common.util.concurrent.ListenableFuture<IntegerReply> |
RedisClient.Pipeline.strlen(java.lang.Object key0)
Get the length of the value stored in a key
String
|
com.google.common.util.concurrent.ListenableFuture<IntegerReply> |
RedisClient.Pipeline.sunionstore_(java.lang.Object... arguments) |
com.google.common.util.concurrent.ListenableFuture<IntegerReply> |
RedisClient.Pipeline.sunionstore(java.lang.Object destination0,
java.lang.Object... key1)
Add multiple sets and store the resulting set in a key
Set
|
com.google.common.util.concurrent.ListenableFuture<IntegerReply> |
RedisClient.Pipeline.ttl(java.lang.Object key0)
Get the time to live for a key
Generic
|
com.google.common.util.concurrent.ListenableFuture<IntegerReply> |
RedisClient.Pipeline.zadd(java.lang.Object... args)
Add one or more members to a sorted set, or update its score if it already exists
Sorted_set
|
com.google.common.util.concurrent.ListenableFuture<IntegerReply> |
RedisClient.Pipeline.zcard(java.lang.Object key0)
Get the number of members in a sorted set
Sorted_set
|
com.google.common.util.concurrent.ListenableFuture<IntegerReply> |
RedisClient.Pipeline.zcount(java.lang.Object key0,
java.lang.Object min1,
java.lang.Object max2)
Count the members in a sorted set with scores within the given values
Sorted_set
|
com.google.common.util.concurrent.ListenableFuture<IntegerReply> |
RedisClient.Pipeline.zinterstore_(java.lang.Object... arguments) |
com.google.common.util.concurrent.ListenableFuture<IntegerReply> |
RedisClient.Pipeline.zinterstore(java.lang.Object destination0,
java.lang.Object numkeys1,
java.lang.Object... key2)
Intersect multiple sorted sets and store the resulting sorted set in a new key
Sorted_set
|
com.google.common.util.concurrent.ListenableFuture<IntegerReply> |
RedisClient.Pipeline.zrem_(java.lang.Object... arguments) |
com.google.common.util.concurrent.ListenableFuture<IntegerReply> |
RedisClient.Pipeline.zrem(java.lang.Object key0,
java.lang.Object... member1)
Remove one or more members from a sorted set
Sorted_set
|
com.google.common.util.concurrent.ListenableFuture<IntegerReply> |
RedisClient.Pipeline.zremrangebyrank(java.lang.Object key0,
java.lang.Object start1,
java.lang.Object stop2)
Remove all members in a sorted set within the given indexes
Sorted_set
|
com.google.common.util.concurrent.ListenableFuture<IntegerReply> |
RedisClient.Pipeline.zremrangebyscore(java.lang.Object key0,
java.lang.Object min1,
java.lang.Object max2)
Remove all members in a sorted set within the given scores
Sorted_set
|
com.google.common.util.concurrent.ListenableFuture<IntegerReply> |
RedisClient.Pipeline.zunionstore_(java.lang.Object... arguments) |
com.google.common.util.concurrent.ListenableFuture<IntegerReply> |
RedisClient.Pipeline.zunionstore(java.lang.Object destination0,
java.lang.Object numkeys1,
java.lang.Object... key2)
Add multiple sorted sets and store the resulting sorted set in a new key
Sorted_set
|