public class AsyncDetails<V,R> extends Object
Constructor and Description |
---|
AsyncDetails() |
Modifier and Type | Method and Description |
---|---|
static AsyncDetails |
acquire() |
int |
getAttempt() |
RPromise<R> |
getAttemptPromise() |
Codec |
getCodec() |
RedisCommand<V> |
getCommand() |
RFuture<RedisConnection> |
getConnectionFuture() |
RedisException |
getException() |
RPromise<R> |
getMainPromise() |
Object[] |
getParams() |
NodeSource |
getSource() |
io.netty.util.Timeout |
getTimeout() |
io.netty.channel.ChannelFuture |
getWriteFuture() |
void |
init(RFuture<RedisConnection> connectionFuture,
RPromise<R> attemptPromise,
boolean readOnlyMode,
NodeSource source,
Codec codec,
RedisCommand<V> command,
Object[] params,
RPromise<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(RFuture<RedisConnection> connectionFuture, RPromise<R> attemptPromise, boolean readOnlyMode, NodeSource source, Codec codec, RedisCommand<V> command, Object[] params, RPromise<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 RFuture<RedisConnection> getConnectionFuture()
public boolean isReadOnlyMode()
public NodeSource getSource()
public Codec getCodec()
public RedisCommand<V> getCommand()
public Object[] getParams()
public int getAttempt()
Copyright © 2014–2017 The Redisson Project. All rights reserved.