public class CountableListener<T> extends Object implements io.netty.util.concurrent.FutureListener<Object>
Modifier and Type | Field and Description |
---|---|
protected AtomicInteger |
counter |
protected RPromise<T> |
result |
protected T |
value |
Constructor and Description |
---|
CountableListener() |
CountableListener(RPromise<T> result,
T value) |
CountableListener(RPromise<T> result,
T value,
int count) |
Modifier and Type | Method and Description |
---|---|
void |
decCounter() |
protected void |
onSuccess(T value) |
void |
operationComplete(io.netty.util.concurrent.Future<Object> future) |
void |
setCounter(int newValue) |
protected final AtomicInteger counter
protected final T value
Copyright © 2014–2018 The Redisson Project. All rights reserved.