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