|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.netty.channel.SimpleChannelUpstreamHandler
com.lambdaworks.redis.RedisAsyncConnection<K,V>
public class RedisAsyncConnection<K,V>
An asynchronous thread-safe connection to a redis server. Multiple threads may
share one RedisAsyncConnection provided they avoid blocking and transactional
operations such as blpop(long, K...) and multi()/exec().
A ConnectionWatchdog monitors each connection and reconnects
automatically until close() is called. All pending commands will be
(re)sent after successful reconnection.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.jboss.netty.channel.ChannelHandler |
|---|
ChannelHandler.Sharable |
| Field Summary | |
|---|---|
protected Channel |
channel
|
protected RedisCodec<K,V> |
codec
|
protected MultiOutput<K,V> |
multi
|
protected BlockingQueue<Command<K,V,?>> |
queue
|
protected long |
timeout
|
protected TimeUnit |
unit
|
| Constructor Summary | |
|---|---|
RedisAsyncConnection(BlockingQueue<Command<K,V,?>> queue,
RedisCodec<K,V> codec,
long timeout,
TimeUnit unit)
Initialize a new connection. |
|
| Method Summary | ||
|---|---|---|
Future<Long> |
append(K key,
V value)
|
|
String |
auth(String password)
|
|
|
await(Command<K,V,T> cmd,
long timeout,
TimeUnit unit)
|
|
boolean |
awaitAll(Future<?>... futures)
Wait until commands are complete or the connection timeout is reached. |
|
boolean |
awaitAll(long timeout,
TimeUnit unit,
Future<?>... futures)
Wait until futures are complete or the supplied timeout is reached. |
|
Future<String> |
bgrewriteaof()
|
|
Future<String> |
bgsave()
|
|
Future<Long> |
bitcount(K key)
|
|
Future<Long> |
bitcount(K key,
long start,
long end)
|
|
Future<Long> |
bitopAnd(K destination,
K... keys)
|
|
Future<Long> |
bitopNot(K destination,
K source)
|
|
Future<Long> |
bitopOr(K destination,
K... keys)
|
|
Future<Long> |
bitopXor(K destination,
K... keys)
|
|
Future<KeyValue<K,V>> |
blpop(long timeout,
K... keys)
|
|
Future<KeyValue<K,V>> |
brpop(long timeout,
K... keys)
|
|
Future<V> |
brpoplpush(long timeout,
K source,
K destination)
|
|
void |
channelClosed(ChannelHandlerContext ctx,
ChannelStateEvent e)
|
|
void |
channelConnected(ChannelHandlerContext ctx,
ChannelStateEvent e)
|
|
Future<K> |
clientGetname()
|
|
Future<String> |
clientKill(String addr)
|
|
Future<String> |
clientList()
|
|
Future<String> |
clientSetname(K name)
|
|
void |
close()
Close the connection. |
|
Future<List<String>> |
configGet(String parameter)
|
|
Future<String> |
configResetstat()
|
|
Future<String> |
configSet(String parameter,
String value)
|
|
Future<Long> |
dbsize()
|
|
Future<String> |
debugObject(K key)
|
|
Future<Long> |
decr(K key)
|
|
Future<Long> |
decrby(K key,
long amount)
|
|
Future<Long> |
del(K... keys)
|
|
String |
digest(V script)
|
|
Future<String> |
discard()
|
|
|
dispatch(CommandType type,
CommandOutput<K,V,T> output)
|
|
|
dispatch(CommandType type,
CommandOutput<K,V,T> output,
CommandArgs<K,V> args)
|
|
|
dispatch(CommandType type,
CommandOutput<K,V,T> output,
K key)
|
|
|
dispatch(CommandType type,
CommandOutput<K,V,T> output,
K key,
V value)
|
|
|
dispatch(CommandType type,
CommandOutput<K,V,T> output,
K key,
V[] values)
|
|
Future<byte[]> |
dump(K key)
|
|
Future<V> |
echo(V msg)
|
|
|
eval(V script,
ScriptOutputType type,
K[] keys,
V... values)
|
|
|
evalsha(String digest,
ScriptOutputType type,
K[] keys,
V... values)
|
|
Future<List<Object>> |
exec()
|
|
Future<Boolean> |
exists(K key)
|
|
Future<Boolean> |
expire(K key,
long seconds)
|
|
Future<Boolean> |
expireat(K key,
Date timestamp)
|
|
Future<Boolean> |
expireat(K key,
long timestamp)
|
|
Future<String> |
flushall()
|
|
Future<String> |
flushdb()
|
|
Future<V> |
get(K key)
|
|
Future<Long> |
getbit(K key,
long offset)
|
|
Future<V> |
getrange(K key,
long start,
long end)
|
|
Future<V> |
getset(K key,
V value)
|
|
Future<Long> |
hdel(K key,
K... fields)
|
|
Future<Boolean> |
hexists(K key,
K field)
|
|
Future<V> |
hget(K key,
K field)
|
|
Future<Map<K,V>> |
hgetall(K key)
|
|
Future<Long> |
hincrby(K key,
K field,
long amount)
|
|
Future<Double> |
hincrbyfloat(K key,
K field,
double amount)
|
|
Future<List<K>> |
hkeys(K key)
|
|
Future<Long> |
hlen(K key)
|
|
Future<List<V>> |
hmget(K key,
K... fields)
|
|
Future<String> |
hmset(K key,
Map<K,V> map)
|
|
Future<Boolean> |
hset(K key,
K field,
V value)
|
|
Future<Boolean> |
hsetnx(K key,
K field,
V value)
|
|
Future<List<V>> |
hvals(K key)
|
|
Future<Long> |
incr(K key)
|
|
Future<Long> |
incrby(K key,
long amount)
|
|
Future<Double> |
incrbyfloat(K key,
double amount)
|
|
Future<String> |
info()
|
|
Future<String> |
info(String section)
|
|
Future<List<K>> |
keys(K pattern)
|
|
Future<Date> |
lastsave()
|
|
Future<V> |
lindex(K key,
long index)
|
|
Future<Long> |
linsert(K key,
boolean before,
V pivot,
V value)
|
|
Future<Long> |
llen(K key)
|
|
Future<V> |
lpop(K key)
|
|
Future<Long> |
lpush(K key,
V... values)
|
|
Future<Long> |
lpushx(K key,
V value)
|
|
Future<List<V>> |
lrange(K key,
long start,
long stop)
|
|
Future<Long> |
lrem(K key,
long count,
V value)
|
|
Future<String> |
lset(K key,
long index,
V value)
|
|
Future<String> |
ltrim(K key,
long start,
long stop)
|
|
Future<List<V>> |
mget(K... keys)
|
|
Future<String> |
migrate(String host,
int port,
K key,
int db,
long timeout)
|
|
Future<Boolean> |
move(K key,
int db)
|
|
Future<String> |
mset(Map<K,V> map)
|
|
Future<Boolean> |
msetnx(Map<K,V> map)
|
|
Future<String> |
multi()
|
|
protected
|
newScriptOutput(RedisCodec<K,V> codec,
ScriptOutputType type)
|
|
Future<String> |
objectEncoding(K key)
|
|
Future<Long> |
objectIdletime(K key)
|
|
Future<Long> |
objectRefcount(K key)
|
|
Future<Boolean> |
persist(K key)
|
|
Future<Boolean> |
pexpire(K key,
long milliseconds)
|
|
Future<Boolean> |
pexpireat(K key,
Date timestamp)
|
|
Future<Boolean> |
pexpireat(K key,
long timestamp)
|
|
Future<String> |
ping()
|
|
Future<Long> |
pttl(K key)
|
|
Future<Long> |
publish(K channel,
V message)
|
|
Future<String> |
quit()
|
|
Future<V> |
randomkey()
|
|
Future<String> |
rename(K key,
K newKey)
|
|
Future<Boolean> |
renamenx(K key,
K newKey)
|
|
Future<String> |
restore(K key,
long ttl,
byte[] value)
|
|
Future<V> |
rpop(K key)
|
|
Future<V> |
rpoplpush(K source,
K destination)
|
|
Future<Long> |
rpush(K key,
V... values)
|
|
Future<Long> |
rpushx(K key,
V value)
|
|
Future<Long> |
sadd(K key,
V... members)
|
|
Future<String> |
save()
|
|
Future<Long> |
scard(K key)
|
|
Future<List<Boolean>> |
scriptExists(String... digests)
|
|
Future<String> |
scriptFlush()
|
|
Future<String> |
scriptKill()
|
|
Future<String> |
scriptLoad(V script)
|
|
Future<Set<V>> |
sdiff(K... keys)
|
|
Future<Long> |
sdiffstore(K destination,
K... keys)
|
|
String |
select(int db)
|
|
Future<String> |
set(K key,
V value)
|
|
Future<Long> |
setbit(K key,
long offset,
int value)
|
|
Future<String> |
setex(K key,
long seconds,
V value)
|
|
Future<Boolean> |
setnx(K key,
V value)
|
|
Future<Long> |
setrange(K key,
long offset,
V value)
|
|
void |
setTimeout(long timeout,
TimeUnit unit)
Set the command timeout for this connection. |
|
void |
shutdown()
Deprecated. |
|
void |
shutdown(boolean save)
|
|
Future<Set<V>> |
sinter(K... keys)
|
|
Future<Long> |
sinterstore(K destination,
K... keys)
|
|
Future<Boolean> |
sismember(K key,
V member)
|
|
Future<String> |
slaveof(String host,
int port)
|
|
Future<String> |
slaveofNoOne()
|
|
Future<List<Object>> |
slowlogGet()
|
|
Future<List<Object>> |
slowlogGet(int count)
|
|
Future<Long> |
slowlogLen()
|
|
Future<String> |
slowlogReset()
|
|
Future<Set<V>> |
smembers(K key)
|
|
Future<Boolean> |
smove(K source,
K destination,
V member)
|
|
Future<List<V>> |
sort(K key)
|
|
Future<List<V>> |
sort(K key,
SortArgs sortArgs)
|
|
Future<Long> |
sortStore(K key,
SortArgs sortArgs,
K destination)
|
|
Future<V> |
spop(K key)
|
|
Future<V> |
srandmember(K key)
|
|
Future<Set<V>> |
srandmember(K key,
long count)
|
|
Future<Long> |
srem(K key,
V... members)
|
|
String |
string(double n)
|
|
Future<Long> |
strlen(K key)
|
|
Future<Set<V>> |
sunion(K... keys)
|
|
Future<Long> |
sunionstore(K destination,
K... keys)
|
|
Future<String> |
sync()
|
|
Future<Long> |
ttl(K key)
|
|
Future<String> |
type(K key)
|
|
Future<String> |
unwatch()
|
|
Future<String> |
watch(K... keys)
|
|
Future<Long> |
zadd(K key,
double score,
V member)
|
|
Future<Long> |
zadd(K key,
Object... scoresAndValues)
|
|
Future<Long> |
zcard(K key)
|
|
Future<Long> |
zcount(K key,
double min,
double max)
|
|
Future<Long> |
zcount(K key,
String min,
String max)
|
|
Future<Double> |
zincrby(K key,
double amount,
K member)
|
|
Future<Long> |
zinterstore(K destination,
K... keys)
|
|
Future<Long> |
zinterstore(K destination,
ZStoreArgs storeArgs,
K... keys)
|
|
Future<List<V>> |
zrange(K key,
long start,
long stop)
|
|
Future<List<V>> |
zrangebyscore(K key,
double min,
double max)
|
|
Future<List<V>> |
zrangebyscore(K key,
double min,
double max,
long offset,
long count)
|
|
Future<List<V>> |
zrangebyscore(K key,
String min,
String max)
|
|
Future<List<V>> |
zrangebyscore(K key,
String min,
String max,
long offset,
long count)
|
|
Future<List<ScoredValue<V>>> |
zrangebyscoreWithScores(K key,
double min,
double max)
|
|
Future<List<ScoredValue<V>>> |
zrangebyscoreWithScores(K key,
double min,
double max,
long offset,
long count)
|
|
Future<List<ScoredValue<V>>> |
zrangebyscoreWithScores(K key,
String min,
String max)
|
|
Future<List<ScoredValue<V>>> |
zrangebyscoreWithScores(K key,
String min,
String max,
long offset,
long count)
|
|
Future<List<ScoredValue<V>>> |
zrangeWithScores(K key,
long start,
long stop)
|
|
Future<Long> |
zrank(K key,
V member)
|
|
Future<Long> |
zrem(K key,
V... members)
|
|
Future<Long> |
zremrangebyrank(K key,
long start,
long stop)
|
|
Future<Long> |
zremrangebyscore(K key,
double min,
double max)
|
|
Future<Long> |
zremrangebyscore(K key,
String min,
String max)
|
|
Future<List<V>> |
zrevrange(K key,
long start,
long stop)
|
|
Future<List<V>> |
zrevrangebyscore(K key,
double max,
double min)
|
|
Future<List<V>> |
zrevrangebyscore(K key,
double max,
double min,
long offset,
long count)
|
|
Future<List<V>> |
zrevrangebyscore(K key,
String max,
String min)
|
|
Future<List<V>> |
zrevrangebyscore(K key,
String max,
String min,
long offset,
long count)
|
|
Future<List<ScoredValue<V>>> |
zrevrangebyscoreWithScores(K key,
double max,
double min)
|
|
Future<List<ScoredValue<V>>> |
zrevrangebyscoreWithScores(K key,
double max,
double min,
long offset,
long count)
|
|
Future<List<ScoredValue<V>>> |
zrevrangebyscoreWithScores(K key,
String max,
String min)
|
|
Future<List<ScoredValue<V>>> |
zrevrangebyscoreWithScores(K key,
String max,
String min,
long offset,
long count)
|
|
Future<List<ScoredValue<V>>> |
zrevrangeWithScores(K key,
long start,
long stop)
|
|
Future<Long> |
zrevrank(K key,
V member)
|
|
Future<Double> |
zscore(K key,
V member)
|
|
Future<Long> |
zunionstore(K destination,
K... keys)
|
|
Future<Long> |
zunionstore(K destination,
ZStoreArgs storeArgs,
K... keys)
|
|
| Methods inherited from class org.jboss.netty.channel.SimpleChannelUpstreamHandler |
|---|
channelBound, channelDisconnected, channelInterestChanged, channelOpen, channelUnbound, childChannelClosed, childChannelOpen, exceptionCaught, handleUpstream, messageReceived, writeComplete |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected BlockingQueue<Command<K,V,?>> queue
protected RedisCodec<K,V> codec
protected Channel channel
protected long timeout
protected TimeUnit unit
protected MultiOutput<K,V> multi
| Constructor Detail |
|---|
public RedisAsyncConnection(BlockingQueue<Command<K,V,?>> queue,
RedisCodec<K,V> codec,
long timeout,
TimeUnit unit)
queue - Command queue.codec - Codec used to encode/decode keys and values.timeout - Maximum time to wait for a response.unit - Unit of time for the timeout.| Method Detail |
|---|
public void setTimeout(long timeout,
TimeUnit unit)
timeout - Command timeout.unit - Unit of time for the timeout.
public Future<Long> append(K key,
V value)
public String auth(String password)
public Future<String> bgrewriteaof()
public Future<String> bgsave()
public Future<Long> bitcount(K key)
public Future<Long> bitcount(K key,
long start,
long end)
public Future<Long> bitopAnd(K destination,
K... keys)
public Future<Long> bitopNot(K destination,
K source)
public Future<Long> bitopOr(K destination,
K... keys)
public Future<Long> bitopXor(K destination,
K... keys)
public Future<KeyValue<K,V>> blpop(long timeout,
K... keys)
public Future<KeyValue<K,V>> brpop(long timeout,
K... keys)
public Future<V> brpoplpush(long timeout,
K source,
K destination)
public Future<K> clientGetname()
public Future<String> clientSetname(K name)
public Future<String> clientKill(String addr)
public Future<String> clientList()
public Future<List<String>> configGet(String parameter)
public Future<String> configResetstat()
public Future<String> configSet(String parameter,
String value)
public Future<Long> dbsize()
public Future<String> debugObject(K key)
public Future<Long> decr(K key)
public Future<Long> decrby(K key,
long amount)
public Future<Long> del(K... keys)
public Future<String> discard()
public Future<byte[]> dump(K key)
public Future<V> echo(V msg)
public <T> Future<T> eval(V script,
ScriptOutputType type,
K[] keys,
V... values)
public <T> Future<T> evalsha(String digest,
ScriptOutputType type,
K[] keys,
V... values)
public Future<Boolean> exists(K key)
public Future<Boolean> expire(K key,
long seconds)
public Future<Boolean> expireat(K key,
Date timestamp)
public Future<Boolean> expireat(K key,
long timestamp)
public Future<List<Object>> exec()
public Future<String> flushall()
throws Exception
Exception
public Future<String> flushdb()
throws Exception
Exceptionpublic Future<V> get(K key)
public Future<Long> getbit(K key,
long offset)
public Future<V> getrange(K key,
long start,
long end)
public Future<V> getset(K key,
V value)
public Future<Long> hdel(K key,
K... fields)
public Future<Boolean> hexists(K key,
K field)
public Future<V> hget(K key,
K field)
public Future<Long> hincrby(K key,
K field,
long amount)
public Future<Double> hincrbyfloat(K key,
K field,
double amount)
public Future<Map<K,V>> hgetall(K key)
public Future<List<K>> hkeys(K key)
public Future<Long> hlen(K key)
public Future<List<V>> hmget(K key,
K... fields)
public Future<String> hmset(K key,
Map<K,V> map)
public Future<Boolean> hset(K key,
K field,
V value)
public Future<Boolean> hsetnx(K key,
K field,
V value)
public Future<List<V>> hvals(K key)
public Future<Long> incr(K key)
public Future<Long> incrby(K key,
long amount)
public Future<Double> incrbyfloat(K key,
double amount)
public Future<String> info()
public Future<String> info(String section)
public Future<List<K>> keys(K pattern)
public Future<Date> lastsave()
public Future<V> lindex(K key,
long index)
public Future<Long> linsert(K key,
boolean before,
V pivot,
V value)
public Future<Long> llen(K key)
public Future<V> lpop(K key)
public Future<Long> lpush(K key,
V... values)
public Future<Long> lpushx(K key,
V value)
public Future<List<V>> lrange(K key,
long start,
long stop)
public Future<Long> lrem(K key,
long count,
V value)
public Future<String> lset(K key,
long index,
V value)
public Future<String> ltrim(K key,
long start,
long stop)
public Future<String> migrate(String host,
int port,
K key,
int db,
long timeout)
public Future<List<V>> mget(K... keys)
public Future<Boolean> move(K key,
int db)
public Future<String> multi()
public Future<String> mset(Map<K,V> map)
public Future<Boolean> msetnx(Map<K,V> map)
public Future<String> objectEncoding(K key)
public Future<Long> objectIdletime(K key)
public Future<Long> objectRefcount(K key)
public Future<Boolean> persist(K key)
public Future<Boolean> pexpire(K key,
long milliseconds)
public Future<Boolean> pexpireat(K key,
Date timestamp)
public Future<Boolean> pexpireat(K key,
long timestamp)
public Future<String> ping()
public Future<Long> pttl(K key)
public Future<Long> publish(K channel,
V message)
public Future<String> quit()
public Future<V> randomkey()
public Future<String> rename(K key,
K newKey)
public Future<Boolean> renamenx(K key,
K newKey)
public Future<String> restore(K key,
long ttl,
byte[] value)
public Future<V> rpop(K key)
public Future<V> rpoplpush(K source,
K destination)
public Future<Long> rpush(K key,
V... values)
public Future<Long> rpushx(K key,
V value)
public Future<Long> sadd(K key,
V... members)
public Future<String> save()
public Future<Long> scard(K key)
public Future<List<Boolean>> scriptExists(String... digests)
public Future<String> scriptFlush()
public Future<String> scriptKill()
public Future<String> scriptLoad(V script)
public Future<Set<V>> sdiff(K... keys)
public Future<Long> sdiffstore(K destination,
K... keys)
public String select(int db)
public Future<String> set(K key,
V value)
public Future<Long> setbit(K key,
long offset,
int value)
public Future<String> setex(K key,
long seconds,
V value)
public Future<Boolean> setnx(K key,
V value)
public Future<Long> setrange(K key,
long offset,
V value)
@Deprecated public void shutdown()
public void shutdown(boolean save)
public Future<Set<V>> sinter(K... keys)
public Future<Long> sinterstore(K destination,
K... keys)
public Future<Boolean> sismember(K key,
V member)
public Future<Boolean> smove(K source,
K destination,
V member)
public Future<String> slaveof(String host,
int port)
public Future<String> slaveofNoOne()
public Future<List<Object>> slowlogGet()
public Future<List<Object>> slowlogGet(int count)
public Future<Long> slowlogLen()
public Future<String> slowlogReset()
public Future<Set<V>> smembers(K key)
public Future<List<V>> sort(K key)
public Future<List<V>> sort(K key,
SortArgs sortArgs)
public Future<Long> sortStore(K key,
SortArgs sortArgs,
K destination)
public Future<V> spop(K key)
public Future<V> srandmember(K key)
public Future<Set<V>> srandmember(K key,
long count)
public Future<Long> srem(K key,
V... members)
public Future<Set<V>> sunion(K... keys)
public Future<Long> sunionstore(K destination,
K... keys)
public Future<String> sync()
public Future<Long> strlen(K key)
public Future<Long> ttl(K key)
public Future<String> type(K key)
public Future<String> watch(K... keys)
public Future<String> unwatch()
public Future<Long> zadd(K key,
double score,
V member)
public Future<Long> zadd(K key,
Object... scoresAndValues)
public Future<Long> zcard(K key)
public Future<Long> zcount(K key,
double min,
double max)
public Future<Long> zcount(K key,
String min,
String max)
public Future<Double> zincrby(K key,
double amount,
K member)
public Future<Long> zinterstore(K destination,
K... keys)
public Future<Long> zinterstore(K destination,
ZStoreArgs storeArgs,
K... keys)
public Future<List<V>> zrange(K key,
long start,
long stop)
public Future<List<ScoredValue<V>>> zrangeWithScores(K key,
long start,
long stop)
public Future<List<V>> zrangebyscore(K key,
double min,
double max)
public Future<List<V>> zrangebyscore(K key,
String min,
String max)
public Future<List<V>> zrangebyscore(K key,
double min,
double max,
long offset,
long count)
public Future<List<V>> zrangebyscore(K key,
String min,
String max,
long offset,
long count)
public Future<List<ScoredValue<V>>> zrangebyscoreWithScores(K key,
double min,
double max)
public Future<List<ScoredValue<V>>> zrangebyscoreWithScores(K key,
String min,
String max)
public Future<List<ScoredValue<V>>> zrangebyscoreWithScores(K key,
double min,
double max,
long offset,
long count)
public Future<List<ScoredValue<V>>> zrangebyscoreWithScores(K key,
String min,
String max,
long offset,
long count)
public Future<Long> zrank(K key,
V member)
public Future<Long> zrem(K key,
V... members)
public Future<Long> zremrangebyrank(K key,
long start,
long stop)
public Future<Long> zremrangebyscore(K key,
double min,
double max)
public Future<Long> zremrangebyscore(K key,
String min,
String max)
public Future<List<V>> zrevrange(K key,
long start,
long stop)
public Future<List<ScoredValue<V>>> zrevrangeWithScores(K key,
long start,
long stop)
public Future<List<V>> zrevrangebyscore(K key,
double max,
double min)
public Future<List<V>> zrevrangebyscore(K key,
String max,
String min)
public Future<List<V>> zrevrangebyscore(K key,
double max,
double min,
long offset,
long count)
public Future<List<V>> zrevrangebyscore(K key,
String max,
String min,
long offset,
long count)
public Future<List<ScoredValue<V>>> zrevrangebyscoreWithScores(K key,
double max,
double min)
public Future<List<ScoredValue<V>>> zrevrangebyscoreWithScores(K key,
String max,
String min)
public Future<List<ScoredValue<V>>> zrevrangebyscoreWithScores(K key,
double max,
double min,
long offset,
long count)
public Future<List<ScoredValue<V>>> zrevrangebyscoreWithScores(K key,
String max,
String min,
long offset,
long count)
public Future<Long> zrevrank(K key,
V member)
public Future<Double> zscore(K key,
V member)
public Future<Long> zunionstore(K destination,
K... keys)
public Future<Long> zunionstore(K destination,
ZStoreArgs storeArgs,
K... keys)
public boolean awaitAll(Future<?>... futures)
futures - Futures to wait for.
public boolean awaitAll(long timeout,
TimeUnit unit,
Future<?>... futures)
timeout - Maximum time to wait for futures to complete.unit - Unit of time for the timeout.futures - Futures to wait for.
public void close()
public String digest(V script)
public void channelConnected(ChannelHandlerContext ctx,
ChannelStateEvent e)
throws Exception
channelConnected in class SimpleChannelUpstreamHandlerException
public void channelClosed(ChannelHandlerContext ctx,
ChannelStateEvent e)
throws Exception
channelClosed in class SimpleChannelUpstreamHandlerException
public <T> Command<K,V,T> dispatch(CommandType type,
CommandOutput<K,V,T> output)
public <T> Command<K,V,T> dispatch(CommandType type,
CommandOutput<K,V,T> output,
K key)
public <T> Command<K,V,T> dispatch(CommandType type,
CommandOutput<K,V,T> output,
K key,
V value)
public <T> Command<K,V,T> dispatch(CommandType type,
CommandOutput<K,V,T> output,
K key,
V[] values)
public <T> Command<K,V,T> dispatch(CommandType type,
CommandOutput<K,V,T> output,
CommandArgs<K,V> args)
public <T> T await(Command<K,V,T> cmd,
long timeout,
TimeUnit unit)
protected <K,V,T> CommandOutput<K,V,T> newScriptOutput(RedisCodec<K,V> codec,
ScriptOutputType type)
public String string(double n)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||