public class AsyncDetails<V,R> extends Object
Constructor and Description |
---|
AsyncDetails() |
Modifier and Type | Method and Description |
---|---|
static AsyncDetails |
acquire() |
int |
getAttempt() |
io.netty.util.concurrent.Promise<R> |
getAttemptPromise() |
Codec |
getCodec() |
RedisCommand<V> |
getCommand() |
io.netty.util.concurrent.Future<RedisConnection> |
getConnectionFuture() |
RedisException |
getException() |
io.netty.util.concurrent.Promise<R> |
getMainPromise() |
Object[] |
getParams() |
NodeSource |
getSource() |
io.netty.util.Timeout |
getTimeout() |
io.netty.channel.ChannelFuture |
getWriteFuture() |
void |
init(io.netty.util.concurrent.Future<RedisConnection> connectionFuture,
io.netty.util.concurrent.Promise<R> attemptPromise,
boolean readOnlyMode,
NodeSource source,
Codec codec,
RedisCommand<V> command,
Object[] params,
io.netty.util.concurrent.Promise<R> mainPromise,
int attempt) |
boolean |
isReadOnlyMode() |
static void |
release(AsyncDetails details) |
void |
setException(RedisException exception) |
void |
setTimeout(io.netty.util.Timeout timeout) |
void |
setWriteFuture(io.netty.channel.ChannelFuture writeFuture) |
public static AsyncDetails acquire()
public static void release(AsyncDetails details)
public void init(io.netty.util.concurrent.Future<RedisConnection> connectionFuture, io.netty.util.concurrent.Promise<R> attemptPromise, boolean readOnlyMode, NodeSource source, Codec codec, RedisCommand<V> command, Object[] params, io.netty.util.concurrent.Promise<R> mainPromise, int attempt)
public io.netty.channel.ChannelFuture getWriteFuture()
public void setWriteFuture(io.netty.channel.ChannelFuture writeFuture)
public RedisException getException()
public void setException(RedisException exception)
public io.netty.util.Timeout getTimeout()
public void setTimeout(io.netty.util.Timeout timeout)
public io.netty.util.concurrent.Future<RedisConnection> getConnectionFuture()
public io.netty.util.concurrent.Promise<R> getAttemptPromise()
public boolean isReadOnlyMode()
public NodeSource getSource()
public Codec getCodec()
public RedisCommand<V> getCommand()
public Object[] getParams()
public io.netty.util.concurrent.Promise<R> getMainPromise()
public int getAttempt()
Copyright © 2014–2016. All rights reserved.