public abstract class OperationListener<V,P,F> extends Object implements io.netty.util.concurrent.FutureListener<F>
| Constructor and Description |
|---|
OperationListener(io.netty.util.concurrent.Promise<P> promise,
RedisAsyncConnection<Object,V> async,
AsyncOperation<V,P> timeoutCallback) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isBreak(RedisAsyncConnection<Object,V> async,
io.netty.util.concurrent.Promise<P> promise,
io.netty.util.concurrent.Future<F> future) |
abstract void |
onOperationComplete(io.netty.util.concurrent.Future<F> future) |
void |
operationComplete(io.netty.util.concurrent.Future<F> future) |
public OperationListener(io.netty.util.concurrent.Promise<P> promise, RedisAsyncConnection<Object,V> async, AsyncOperation<V,P> timeoutCallback)
public void operationComplete(io.netty.util.concurrent.Future<F> future) throws Exception
public abstract void onOperationComplete(io.netty.util.concurrent.Future<F> future) throws Exception
Exceptionprotected boolean isBreak(RedisAsyncConnection<Object,V> async, io.netty.util.concurrent.Promise<P> promise, io.netty.util.concurrent.Future<F> future)
Copyright © 2014–2015. All rights reserved.