| Package | Description |
|---|---|
| redis.client |
| Modifier and Type | Method and Description |
|---|---|
StatusReply |
RedisClientBase.auth(java.lang.Object password0)
Authenticate to the server
Connection
|
StatusReply |
RedisClient.bgrewriteaof()
Asynchronously rewrite the append-only file
Server
|
StatusReply |
RedisClient.bgsave()
Asynchronously save the dataset to disk
Server
|
StatusReply |
RedisClientBase.discard() |
StatusReply |
RedisClient.flushall()
Remove all keys from all databases
Server
|
StatusReply |
RedisClient.flushdb()
Remove all keys from the current database
Server
|
StatusReply |
RedisClient.hmset_(java.lang.Object... arguments) |
StatusReply |
RedisClient.hmset(java.lang.Object key0,
java.lang.Object... field_or_value1)
Set multiple hash fields to multiple values
Hash
|
StatusReply |
RedisClient.lset(java.lang.Object key0,
java.lang.Object index1,
java.lang.Object value2)
Set the value of an element in a list by its index
List
|
StatusReply |
RedisClient.ltrim(java.lang.Object key0,
java.lang.Object start1,
java.lang.Object stop2)
Trim a list to the specified range
List
|
StatusReply |
RedisClient.migrate(java.lang.Object host0,
java.lang.Object port1,
java.lang.Object key2,
java.lang.Object destination_db3,
java.lang.Object timeout4)
Atomically transfer a key from a Redis instance to another one.
|
StatusReply |
RedisClient.mset_(java.lang.Object... arguments) |
StatusReply |
RedisClient.mset(java.lang.Object... key_or_value0)
Set multiple keys to multiple values
String
|
StatusReply |
RedisClientBase.multi() |
StatusReply |
RedisClient.ping()
Ping the server
Connection
|
StatusReply |
RedisClient.quit()
Close the connection
Connection
|
StatusReply |
RedisClient.rename(java.lang.Object key0,
java.lang.Object newkey1)
Rename a key
Generic
|
StatusReply |
RedisClient.restore(java.lang.Object key0,
java.lang.Object ttl1,
java.lang.Object serialized_value2)
Create a key using the provided serialized value, previously obtained using DUMP.
|
StatusReply |
RedisClient.save()
Synchronously save the dataset to disk
Server
|
StatusReply |
RedisClient.select(java.lang.Object index0)
Change the selected database for the current connection
Connection
|
StatusReply |
RedisClient.set_(java.lang.Object... arguments) |
StatusReply |
RedisClient.set(java.lang.Object key0,
java.lang.Object value1,
java.lang.Object... seconds2)
Set the string value of a key
String
|
StatusReply |
RedisClient.setex(java.lang.Object key0,
java.lang.Object seconds1,
java.lang.Object value2)
Set the value and expiration of a key
String
|
StatusReply |
RedisClient.shutdown_(java.lang.Object... arguments) |
StatusReply |
RedisClient.shutdown(java.lang.Object NOSAVE0,
java.lang.Object SAVE1)
Synchronously save the dataset to disk and then shut down the server
Server
|
StatusReply |
RedisClient.slaveof(java.lang.Object host0,
java.lang.Object port1)
Make the server a slave of another instance, or promote it as master
Server
|
StatusReply |
RedisClient.type(java.lang.Object key0)
Determine the type stored at key
Generic
|
StatusReply |
RedisClient.unwatch()
Forget about all watched keys
Transactions
|
StatusReply |
RedisClient.watch_(java.lang.Object... arguments) |
StatusReply |
RedisClient.watch(java.lang.Object... key0)
Watch the given keys to determine execution of the MULTI/EXEC block
Transactions
|
| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.ListenableFuture<StatusReply> |
RedisClient.Pipeline.bgrewriteaof()
Asynchronously rewrite the append-only file
Server
|
com.google.common.util.concurrent.ListenableFuture<StatusReply> |
RedisClient.Pipeline.bgsave()
Asynchronously save the dataset to disk
Server
|
com.google.common.util.concurrent.ListenableFuture<StatusReply> |
RedisClient.Pipeline.flushall()
Remove all keys from all databases
Server
|
com.google.common.util.concurrent.ListenableFuture<StatusReply> |
RedisClient.Pipeline.flushdb()
Remove all keys from the current database
Server
|
com.google.common.util.concurrent.ListenableFuture<StatusReply> |
RedisClient.Pipeline.hmset_(java.lang.Object... arguments) |
com.google.common.util.concurrent.ListenableFuture<StatusReply> |
RedisClient.Pipeline.hmset(java.lang.Object key0,
java.lang.Object... field_or_value1)
Set multiple hash fields to multiple values
Hash
|
com.google.common.util.concurrent.ListenableFuture<StatusReply> |
RedisClient.Pipeline.lset(java.lang.Object key0,
java.lang.Object index1,
java.lang.Object value2)
Set the value of an element in a list by its index
List
|
com.google.common.util.concurrent.ListenableFuture<StatusReply> |
RedisClient.Pipeline.ltrim(java.lang.Object key0,
java.lang.Object start1,
java.lang.Object stop2)
Trim a list to the specified range
List
|
com.google.common.util.concurrent.ListenableFuture<StatusReply> |
RedisClient.Pipeline.migrate(java.lang.Object host0,
java.lang.Object port1,
java.lang.Object key2,
java.lang.Object destination_db3,
java.lang.Object timeout4)
Atomically transfer a key from a Redis instance to another one.
|
com.google.common.util.concurrent.ListenableFuture<StatusReply> |
RedisClient.Pipeline.mset_(java.lang.Object... arguments) |
com.google.common.util.concurrent.ListenableFuture<StatusReply> |
RedisClient.Pipeline.mset(java.lang.Object... key_or_value0)
Set multiple keys to multiple values
String
|
com.google.common.util.concurrent.ListenableFuture<StatusReply> |
RedisClient.Pipeline.ping()
Ping the server
Connection
|
com.google.common.util.concurrent.ListenableFuture<StatusReply> |
RedisClient.Pipeline.quit()
Close the connection
Connection
|
com.google.common.util.concurrent.ListenableFuture<StatusReply> |
RedisClient.Pipeline.rename(java.lang.Object key0,
java.lang.Object newkey1)
Rename a key
Generic
|
com.google.common.util.concurrent.ListenableFuture<StatusReply> |
RedisClient.Pipeline.restore(java.lang.Object key0,
java.lang.Object ttl1,
java.lang.Object serialized_value2)
Create a key using the provided serialized value, previously obtained using DUMP.
|
com.google.common.util.concurrent.ListenableFuture<StatusReply> |
RedisClient.Pipeline.save()
Synchronously save the dataset to disk
Server
|
com.google.common.util.concurrent.ListenableFuture<StatusReply> |
RedisClient.Pipeline.select(java.lang.Object index0)
Change the selected database for the current connection
Connection
|
com.google.common.util.concurrent.ListenableFuture<StatusReply> |
RedisClient.Pipeline.set_(java.lang.Object... arguments) |
com.google.common.util.concurrent.ListenableFuture<StatusReply> |
RedisClient.Pipeline.set(java.lang.Object key0,
java.lang.Object value1,
java.lang.Object... seconds2)
Set the string value of a key
String
|
com.google.common.util.concurrent.ListenableFuture<StatusReply> |
RedisClient.Pipeline.setex(java.lang.Object key0,
java.lang.Object seconds1,
java.lang.Object value2)
Set the value and expiration of a key
String
|
com.google.common.util.concurrent.ListenableFuture<StatusReply> |
RedisClient.Pipeline.shutdown_(java.lang.Object... arguments) |
com.google.common.util.concurrent.ListenableFuture<StatusReply> |
RedisClient.Pipeline.shutdown(java.lang.Object NOSAVE0,
java.lang.Object SAVE1)
Synchronously save the dataset to disk and then shut down the server
Server
|
com.google.common.util.concurrent.ListenableFuture<StatusReply> |
RedisClient.Pipeline.slaveof(java.lang.Object host0,
java.lang.Object port1)
Make the server a slave of another instance, or promote it as master
Server
|
com.google.common.util.concurrent.ListenableFuture<StatusReply> |
RedisClient.Pipeline.type(java.lang.Object key0)
Determine the type stored at key
Generic
|
com.google.common.util.concurrent.ListenableFuture<StatusReply> |
RedisClient.Pipeline.unwatch()
Forget about all watched keys
Transactions
|
com.google.common.util.concurrent.ListenableFuture<StatusReply> |
RedisClient.Pipeline.watch_(java.lang.Object... arguments) |
com.google.common.util.concurrent.ListenableFuture<StatusReply> |
RedisClient.Pipeline.watch(java.lang.Object... key0)
Watch the given keys to determine execution of the MULTI/EXEC block
Transactions
|