public class FutureResult<V> extends FutureDelegate<V>
Constructor and Description |
---|
FutureResult(io.netty.util.concurrent.Future<V> result,
io.netty.util.concurrent.Future<?> cancel) |
Modifier and Type | Method and Description |
---|---|
boolean |
cancel(boolean b) |
addListener, addListeners, await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, cause, get, get, getNow, isCancellable, isCancelled, isDone, isSuccess, removeListener, removeListeners, sync, syncUninterruptibly
public FutureResult(io.netty.util.concurrent.Future<V> result, io.netty.util.concurrent.Future<?> cancel)
result
- the Future that will be completed by cancel(boolean)
cancel
- the Future that is performing the work, and to whom any cancellation attempts will be proxiedpublic boolean cancel(boolean b)
cancel
in interface java.util.concurrent.Future<V>
cancel
in class FutureDelegate<V>
Copyright © 2009- The Apache Software Foundation