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. |
Modifier and Type | Interface and Description |
---|---|
interface |
JRedis
This is effectively a one to one mapping to Redis commands.
|
interface |
JRedisFuture
The asynchronous interface to Redis.
|
Modifier and Type | Method and Description |
---|---|
<K> JRedis |
JRedis.discard() |
<K> boolean |
JRedis.hdel(K key,
K field) |
<K> Future<Boolean> |
JRedisFuture.hdel(K key,
K entry) |
<K> boolean |
JRedis.hexists(K key,
K field) |
<K> Future<Boolean> |
JRedisFuture.hexists(K key,
K entry) |
<K> byte[] |
JRedis.hget(K key,
K field) |
<K> Future<byte[]> |
JRedisFuture.hget(K key,
K entry) |
<K> Map<byte[],byte[]> |
JRedis.hgetall(K key) |
<K> Future<Map<byte[],byte[]>> |
JRedisFuture.hgetall(K key) |
<K> List<byte[]> |
JRedis.hkeys(K key) |
<K> Future<List<byte[]>> |
JRedisFuture.hkeys(K key) |
<K> long |
JRedis.hlen(K key) |
<K> Future<Long> |
JRedisFuture.hlen(K key) |
<K> boolean |
JRedis.hset(K key,
K field,
byte[] value) |
<K> Future<Boolean> |
JRedisFuture.hset(K key,
K entry,
byte[] value) |
<K> boolean |
JRedis.hset(K key,
K field,
Number number) |
<K> Future<Boolean> |
JRedisFuture.hset(K key,
K entry,
Number number) |
<K> boolean |
JRedis.hset(K key,
K field,
String string) |
<K> Future<Boolean> |
JRedisFuture.hset(K key,
K entry,
String string) |
<K,T extends Serializable> |
JRedis.hset(K key,
K field,
T object) |
<K,T extends Serializable> |
JRedisFuture.hset(K key,
K entry,
T object) |
<K> List<byte[]> |
JRedis.hvals(K key) |
<K> Future<List<byte[]>> |
JRedisFuture.hvals(K key) |
<K> JRedis |
JRedis.multi()
one option is to return a subclass of JRedis (e.g.
|
<K> Double |
JRedis.zincrby(K setkey,
double score,
byte[] member) |
<K> Future<Double> |
JRedisFuture.zincrby(K setkey,
double score,
byte[] member) |
Modifier and Type | Class and Description |
---|---|
class |
Command
Redis commands, (~) verbatim.
|
Modifier and Type | Class and Description |
---|---|
class |
JRedisClient
[TODO: document me!]
|
Modifier and Type | Method and Description |
---|---|
<K> Map<byte[],byte[]> |
JRedisSupport.hgetall(K hashKey) |
<K> List<byte[]> |
JRedisSupport.hkeys(K hashKey) |
<K> List<byte[]> |
JRedisSupport.hvals(K hashKey) |
Copyright © 2009–2018. All rights reserved.