Package | Description |
---|---|
redis.client |
Modifier and Type | Method and Description |
---|---|
StatusReply |
RedisClientBase.auth(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_(Object... arguments) |
StatusReply |
RedisClient.hmset(Object key0,
Object... field_or_value1)
Set multiple hash fields to multiple values
Hash
|
StatusReply |
RedisClient.lset(Object key0,
Object index1,
Object value2)
Set the value of an element in a list by its index
List
|
StatusReply |
RedisClient.ltrim(Object key0,
Object start1,
Object stop2)
Trim a list to the specified range
List
|
StatusReply |
RedisClient.migrate(Object host0,
Object port1,
Object key2,
Object destination_db3,
Object timeout4)
Atomically transfer a key from a Redis instance to another one.
|
StatusReply |
RedisClient.mset_(Object... arguments) |
StatusReply |
RedisClient.mset(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(Object key0,
Object newkey1)
Rename a key
Generic
|
StatusReply |
RedisClient.restore(Object key0,
Object ttl1,
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(Object index0)
Change the selected database for the current connection
Connection
|
StatusReply |
RedisClient.set_(Object... arguments) |
StatusReply |
RedisClient.set(Object key0,
Object value1,
Object... seconds2)
Set the string value of a key
String
|
StatusReply |
RedisClient.setex(Object key0,
Object seconds1,
Object value2)
Set the value and expiration of a key
String
|
StatusReply |
RedisClient.shutdown_(Object... arguments) |
StatusReply |
RedisClient.shutdown(Object NOSAVE0,
Object SAVE1)
Synchronously save the dataset to disk and then shut down the server
Server
|
StatusReply |
RedisClient.slaveof(Object host0,
Object port1)
Make the server a slave of another instance, or promote it as master
Server
|
StatusReply |
RedisClient.type(Object key0)
Determine the type stored at key
Generic
|
StatusReply |
RedisClient.unwatch()
Forget about all watched keys
Transactions
|
StatusReply |
RedisClient.watch_(Object... arguments) |
StatusReply |
RedisClient.watch(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_(Object... arguments) |
com.google.common.util.concurrent.ListenableFuture<StatusReply> |
RedisClient.Pipeline.hmset(Object key0,
Object... field_or_value1)
Set multiple hash fields to multiple values
Hash
|
com.google.common.util.concurrent.ListenableFuture<StatusReply> |
RedisClient.Pipeline.lset(Object key0,
Object index1,
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(Object key0,
Object start1,
Object stop2)
Trim a list to the specified range
List
|
com.google.common.util.concurrent.ListenableFuture<StatusReply> |
RedisClient.Pipeline.migrate(Object host0,
Object port1,
Object key2,
Object destination_db3,
Object timeout4)
Atomically transfer a key from a Redis instance to another one.
|
com.google.common.util.concurrent.ListenableFuture<StatusReply> |
RedisClient.Pipeline.mset_(Object... arguments) |
com.google.common.util.concurrent.ListenableFuture<StatusReply> |
RedisClient.Pipeline.mset(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(Object key0,
Object newkey1)
Rename a key
Generic
|
com.google.common.util.concurrent.ListenableFuture<StatusReply> |
RedisClient.Pipeline.restore(Object key0,
Object ttl1,
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(Object index0)
Change the selected database for the current connection
Connection
|
com.google.common.util.concurrent.ListenableFuture<StatusReply> |
RedisClient.Pipeline.set_(Object... arguments) |
com.google.common.util.concurrent.ListenableFuture<StatusReply> |
RedisClient.Pipeline.set(Object key0,
Object value1,
Object... seconds2)
Set the string value of a key
String
|
com.google.common.util.concurrent.ListenableFuture<StatusReply> |
RedisClient.Pipeline.setex(Object key0,
Object seconds1,
Object value2)
Set the value and expiration of a key
String
|
com.google.common.util.concurrent.ListenableFuture<StatusReply> |
RedisClient.Pipeline.shutdown_(Object... arguments) |
com.google.common.util.concurrent.ListenableFuture<StatusReply> |
RedisClient.Pipeline.shutdown(Object NOSAVE0,
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(Object host0,
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(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_(Object... arguments) |
com.google.common.util.concurrent.ListenableFuture<StatusReply> |
RedisClient.Pipeline.watch(Object... key0)
Watch the given keys to determine execution of the MULTI/EXEC block
Transactions
|
Copyright © 2015. All rights reserved.