public interface ConnectionManager
Modifier and Type | Method and Description |
---|---|
<K,V> RedisConnection<K,V> |
connectionReadOp(int slot) |
<V> V |
get(io.netty.util.concurrent.Future<V> future) |
PubSubConnectionEntry |
getEntry(String channelName) |
io.netty.channel.EventLoopGroup |
getGroup() |
<V,T> T |
read(AsyncOperation<V,T> asyncOperation) |
<V,T> T |
read(String key,
AsyncOperation<V,T> asyncOperation) |
<V,R> R |
read(String key,
SyncOperation<V,R> operation) |
<V,R> R |
read(SyncOperation<V,R> operation) |
<V,T> io.netty.util.concurrent.Future<T> |
readAsync(AsyncOperation<V,T> asyncOperation) |
<V,T> io.netty.util.concurrent.Future<T> |
readAsync(String key,
AsyncOperation<V,T> asyncOperation) |
void |
releaseRead(int slot,
RedisConnection сonnection) |
void |
shutdown() |
<K,V> PubSubConnectionEntry |
subscribe(RedisPubSubAdapter<V> listener,
String channelName) |
<K,V> PubSubConnectionEntry |
subscribe(String channelName) |
io.netty.util.concurrent.Future |
unsubscribe(String channelName) |
<V,R> R |
write(AsyncOperation<V,R> asyncOperation) |
<V,R> R |
write(String key,
AsyncOperation<V,R> asyncOperation) |
<V,R> R |
write(String key,
SyncOperation<V,R> operation) |
<V,R> R |
write(SyncOperation<V,R> operation) |
<V,T> io.netty.util.concurrent.Future<T> |
writeAllAsync(AsyncOperation<V,T> asyncOperation) |
<V,T> io.netty.util.concurrent.Future<T> |
writeAsync(AsyncOperation<V,T> asyncOperation) |
<V,T> io.netty.util.concurrent.Future<T> |
writeAsync(String key,
AsyncOperation<V,T> asyncOperation) |
<V> V get(io.netty.util.concurrent.Future<V> future)
<V,R> R read(String key, SyncOperation<V,R> operation)
<V,R> R read(SyncOperation<V,R> operation)
<V,R> R write(String key, SyncOperation<V,R> operation)
<V,R> R write(SyncOperation<V,R> operation)
<V,R> R write(String key, AsyncOperation<V,R> asyncOperation)
<V,R> R write(AsyncOperation<V,R> asyncOperation)
<V,T> io.netty.util.concurrent.Future<T> writeAllAsync(AsyncOperation<V,T> asyncOperation)
<V,T> T read(String key, AsyncOperation<V,T> asyncOperation)
<V,T> T read(AsyncOperation<V,T> asyncOperation)
<V,T> io.netty.util.concurrent.Future<T> readAsync(String key, AsyncOperation<V,T> asyncOperation)
<V,T> io.netty.util.concurrent.Future<T> readAsync(AsyncOperation<V,T> asyncOperation)
<V,T> io.netty.util.concurrent.Future<T> writeAsync(String key, AsyncOperation<V,T> asyncOperation)
<V,T> io.netty.util.concurrent.Future<T> writeAsync(AsyncOperation<V,T> asyncOperation)
<K,V> RedisConnection<K,V> connectionReadOp(int slot)
PubSubConnectionEntry getEntry(String channelName)
<K,V> PubSubConnectionEntry subscribe(String channelName)
<K,V> PubSubConnectionEntry subscribe(RedisPubSubAdapter<V> listener, String channelName)
io.netty.util.concurrent.Future unsubscribe(String channelName)
void releaseRead(int slot, RedisConnection сonnection)
void shutdown()
io.netty.channel.EventLoopGroup getGroup()
Copyright © 2014–2015. All rights reserved.