public interface ChannelProgressiveFuture extends ChannelFuture, ProgressiveFuture<Void>
ChannelFuture
which is used to indicate the FileRegion
transfer progressModifier 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 first occurrence of the specified listener from this future.
|
ChannelProgressiveFuture |
removeListeners(GenericFutureListener<? extends Future<? super Void>>... listeners)
Removes the first occurrence for each of the 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, isVoid
await, await, awaitUninterruptibly, awaitUninterruptibly, cancel, cause, getNow, isCancellable, isSuccess
get, get, isCancelled, isDone
ChannelProgressiveFuture addListener(GenericFutureListener<? extends Future<? super Void>> listener)
Future
addListener
in interface ChannelFuture
addListener
in interface ProgressiveFuture<Void>
ChannelProgressiveFuture addListeners(GenericFutureListener<? extends Future<? super Void>>... listeners)
Future
addListeners
in interface ChannelFuture
addListeners
in interface ProgressiveFuture<Void>
ChannelProgressiveFuture removeListener(GenericFutureListener<? extends Future<? super Void>> listener)
Future
removeListener
in interface ChannelFuture
removeListener
in interface ProgressiveFuture<Void>
ChannelProgressiveFuture removeListeners(GenericFutureListener<? extends Future<? super Void>>... listeners)
Future
removeListeners
in interface ChannelFuture
removeListeners
in interface ProgressiveFuture<Void>
ChannelProgressiveFuture sync() throws InterruptedException
Future
sync
in interface ChannelFuture
sync
in interface ProgressiveFuture<Void>
InterruptedException
ChannelProgressiveFuture syncUninterruptibly()
Future
syncUninterruptibly
in interface ChannelFuture
syncUninterruptibly
in interface ProgressiveFuture<Void>
ChannelProgressiveFuture await() throws InterruptedException
Future
await
in interface ChannelFuture
await
in interface ProgressiveFuture<Void>
InterruptedException
- if the current thread was interruptedChannelProgressiveFuture awaitUninterruptibly()
Future
InterruptedException
and
discards it silently.awaitUninterruptibly
in interface ChannelFuture
awaitUninterruptibly
in interface ProgressiveFuture<Void>
Copyright © 2008–2024 The Netty Project. All rights reserved.