public interface ChannelProgressiveFuture extends ChannelFuture, ProgressiveFuture<Void>
ChannelFuture which is used to indicate the FileRegion transfer progress| Modifier and Type | Method and Description |
|---|---|
ChannelProgressiveFuture |
addListener(GenericFutureListener<? extends Future<? super Void>> listener)
Adds the specified listener to this future.
|
ChannelProgressiveFuture |
addListeners(GenericFutureListener<? extends Future<? super Void>>... listeners)
Adds the specified listeners to this future.
|
ChannelProgressiveFuture |
await()
Waits for this future to be completed.
|
ChannelProgressiveFuture |
awaitUninterruptibly()
Waits for this future to be completed without
interruption.
|
ChannelProgressiveFuture |
removeListener(GenericFutureListener<? extends Future<? super Void>> listener)
Removes the specified listener from this future.
|
ChannelProgressiveFuture |
removeListeners(GenericFutureListener<? extends Future<? super Void>>... listeners)
Removes the specified listeners from this future.
|
ChannelProgressiveFuture |
sync()
Waits for this future until it is done, and rethrows the cause of the failure if this future
failed.
|
ChannelProgressiveFuture |
syncUninterruptibly()
Waits for this future until it is done, and rethrows the cause of the failure if this future
failed.
|
channel, isVoidawait, await, awaitUninterruptibly, awaitUninterruptibly, cancel, cause, getNow, isCancellable, isSuccessget, get, isCancelled, isDoneChannelProgressiveFuture addListener(GenericFutureListener<? extends Future<? super Void>> listener)
FutureaddListener in interface ChannelFutureaddListener in interface ProgressiveFuture<Void>ChannelProgressiveFuture addListeners(GenericFutureListener<? extends Future<? super Void>>... listeners)
FutureaddListeners in interface ChannelFutureaddListeners in interface ProgressiveFuture<Void>ChannelProgressiveFuture removeListener(GenericFutureListener<? extends Future<? super Void>> listener)
FutureremoveListener in interface ChannelFutureremoveListener in interface ProgressiveFuture<Void>ChannelProgressiveFuture removeListeners(GenericFutureListener<? extends Future<? super Void>>... listeners)
FutureremoveListeners in interface ChannelFutureremoveListeners in interface ProgressiveFuture<Void>ChannelProgressiveFuture sync() throws InterruptedException
Futuresync in interface ChannelFuturesync in interface ProgressiveFuture<Void>InterruptedExceptionChannelProgressiveFuture syncUninterruptibly()
FuturesyncUninterruptibly in interface ChannelFuturesyncUninterruptibly in interface ProgressiveFuture<Void>ChannelProgressiveFuture await() throws InterruptedException
Futureawait in interface ChannelFutureawait in interface ProgressiveFuture<Void>InterruptedException - if the current thread was interruptedChannelProgressiveFuture awaitUninterruptibly()
FutureInterruptedException and
discards it silently.awaitUninterruptibly in interface ChannelFutureawaitUninterruptibly in interface ProgressiveFuture<Void>Copyright © 2008–2015 The Netty Project. All rights reserved.