public abstract class OperationListener<V,F> extends Object implements io.netty.util.concurrent.FutureListener<F>
Constructor and Description |
---|
OperationListener(io.netty.util.concurrent.Promise<V> promise,
RedisAsyncConnection<Object,V> async) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isBreak(RedisAsyncConnection<Object,V> async,
io.netty.util.concurrent.Promise<V> 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<V> promise, RedisAsyncConnection<Object,V> async)
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
Exception
protected boolean isBreak(RedisAsyncConnection<Object,V> async, io.netty.util.concurrent.Promise<V> promise, io.netty.util.concurrent.Future<F> future)
Copyright © 2014. All rights reserved.