Package | Description |
---|---|
org.jredis |
This package contains the constructs that define the Java API semantics of the
JRedis clients.
|
org.jredis.protocol |
This package contains the constructs that reflect the Redis Protocol Specification
TODO: elaborate on the spec requirements.
|
org.jredis.ri.alphazero |
This package and child packages contain reference implementation alphazero
of the
JRedis and Connection
of the optional Connector specifications. |
org.jredis.ri.alphazero.protocol |
Modifier and Type | Method and Description |
---|---|
<K> Future<ResponseStatus> |
JRedisFuture.bgsave() |
Future<ResponseStatus> |
JRedisFuture.flush()
Optional connection control command.
|
<K> Future<ResponseStatus> |
JRedisFuture.flushall()
Flushes all dbs in the connect Redis server, regardless of which db was selected
on connect time.
|
<K> Future<ResponseStatus> |
JRedisFuture.flushdb()
Flushes the db you selected when connecting to Redis server.
|
<K> Future<ResponseStatus> |
JRedisFuture.lset(K key,
long index,
byte[] value) |
<K> Future<ResponseStatus> |
JRedisFuture.lset(K key,
long index,
Number numberValue) |
<K> Future<ResponseStatus> |
JRedisFuture.lset(K key,
long index,
String stringValue) |
<K,T extends Serializable> |
JRedisFuture.lset(K key,
long index,
T object) |
<K> Future<ResponseStatus> |
JRedisFuture.ltrim(K listkey,
long keepFrom,
long keepTo) |
<K> Future<ResponseStatus> |
JRedisFuture.mset(KeyValueSet.ByteArrays<K> mappings) |
<K> Future<ResponseStatus> |
JRedisFuture.mset(KeyValueSet.Numbers<K> mappings) |
<K,T extends Serializable> |
JRedisFuture.mset(KeyValueSet.Objects<K,T> mappings) |
<K> Future<ResponseStatus> |
JRedisFuture.mset(KeyValueSet.Strings<K> mappings) |
<K> Future<ResponseStatus> |
JRedisFuture.mset(Map<K,byte[]> keyValueMap) |
<K> Future<ResponseStatus> |
JRedisFuture.ping()
Ping redis
|
<K> Future<ResponseStatus> |
JRedisFuture.quit()
Disconnects the client.
|
<K> Future<ResponseStatus> |
JRedisFuture.rename(K oldkey,
K newkey) |
<K> Future<ResponseStatus> |
JRedisFuture.save() |
<K> Future<ResponseStatus> |
JRedisFuture.sdiffstore(K destSetKey,
K... sets) |
<K> Future<ResponseStatus> |
JRedisFuture.set(K key,
byte[] value)
Bind the value to key.
|
<K> Future<ResponseStatus> |
JRedisFuture.set(K key,
Number numberValue)
Convenient method for
String numeric values binding |
<K> Future<ResponseStatus> |
JRedisFuture.set(K key,
String stringValue)
Convenient method for
String data binding |
<K,T extends Serializable> |
JRedisFuture.set(K key,
T object)
Binds the given java
Object to the key. |
<K> Future<ResponseStatus> |
JRedisFuture.sinterstore(K destSetKey,
K... sets) |
<K> Future<ResponseStatus> |
JRedisFuture.slaveof(String host,
int port) |
<K> Future<ResponseStatus> |
JRedisFuture.slaveofnone()
Convenience method.
|
<K> Future<ResponseStatus> |
JRedisFuture.sunionstore(K destSetKey,
K... sets) |
Modifier and Type | Field and Description |
---|---|
static ResponseStatus |
ResponseStatus.STATUS_CIAO |
static ResponseStatus |
ResponseStatus.STATUS_OK
Hopefully we have many none error response statuses
and we don't want to keep instantiating them.
|
Modifier and Type | Method and Description |
---|---|
ResponseStatus |
Response.getStatus() |
Modifier and Type | Method and Description |
---|---|
ResponseStatus |
JRedisFutureSupport.FutureStatus.get() |
ResponseStatus |
JRedisFutureSupport.FutureStatus.get(long timeout,
TimeUnit unit) |
Modifier and Type | Method and Description |
---|---|
<K> Future<ResponseStatus> |
JRedisFutureSupport.slaveof(String host,
int port) |
<K> Future<ResponseStatus> |
JRedisFutureSupport.slaveofnone() |
Modifier and Type | Field and Description |
---|---|
protected ResponseStatus |
ResponseSupport.status |
Modifier and Type | Method and Description |
---|---|
ResponseStatus |
VirtualResponse.getStatus() |
ResponseStatus |
ResponseSupport.getStatus() |
Constructor and Description |
---|
VirtualResponse(ResponseStatus status) |
Copyright © 2009–2016. All rights reserved.