public interface ChannelProgressivePromise extends io.netty.util.concurrent.ProgressivePromise<Void>, ChannelProgressiveFuture, ChannelPromise
ChannelPromise which will be notified once the associated bytes is transferring.| Modifier and Type | Method and Description |
|---|---|
ChannelProgressivePromise |
addListener(io.netty.util.concurrent.GenericFutureListener<? extends io.netty.util.concurrent.Future<? super Void>> listener) |
ChannelProgressivePromise |
addListeners(io.netty.util.concurrent.GenericFutureListener<? extends io.netty.util.concurrent.Future<? super Void>>... listeners) |
ChannelProgressivePromise |
await() |
ChannelProgressivePromise |
awaitUninterruptibly() |
ChannelProgressivePromise |
removeListener(io.netty.util.concurrent.GenericFutureListener<? extends io.netty.util.concurrent.Future<? super Void>> listener) |
ChannelProgressivePromise |
removeListeners(io.netty.util.concurrent.GenericFutureListener<? extends io.netty.util.concurrent.Future<? super Void>>... listeners) |
ChannelProgressivePromise |
setFailure(Throwable cause) |
ChannelProgressivePromise |
setProgress(long progress,
long total) |
ChannelProgressivePromise |
setSuccess() |
ChannelProgressivePromise |
setSuccess(Void result) |
ChannelProgressivePromise |
sync() |
ChannelProgressivePromise |
syncUninterruptibly() |
ChannelProgressivePromise |
unvoid()
|
channel, trySuccessisVoidsetUncancellable, tryFailure, trySuccessawait, await, awaitUninterruptibly, awaitUninterruptibly, cancel, cause, getNow, isCancellable, isSuccessget, get, isCancelled, isDoneChannelProgressivePromise addListener(io.netty.util.concurrent.GenericFutureListener<? extends io.netty.util.concurrent.Future<? super Void>> listener)
addListener in interface ChannelFutureaddListener in interface ChannelProgressiveFutureaddListener in interface ChannelPromiseaddListener in interface io.netty.util.concurrent.ProgressiveFuture<Void>addListener in interface io.netty.util.concurrent.ProgressivePromise<Void>addListener in interface io.netty.util.concurrent.Promise<Void>ChannelProgressivePromise addListeners(io.netty.util.concurrent.GenericFutureListener<? extends io.netty.util.concurrent.Future<? super Void>>... listeners)
addListeners in interface ChannelFutureaddListeners in interface ChannelProgressiveFutureaddListeners in interface ChannelPromiseaddListeners in interface io.netty.util.concurrent.ProgressiveFuture<Void>addListeners in interface io.netty.util.concurrent.ProgressivePromise<Void>addListeners in interface io.netty.util.concurrent.Promise<Void>ChannelProgressivePromise removeListener(io.netty.util.concurrent.GenericFutureListener<? extends io.netty.util.concurrent.Future<? super Void>> listener)
removeListener in interface ChannelFutureremoveListener in interface ChannelProgressiveFutureremoveListener in interface ChannelPromiseremoveListener in interface io.netty.util.concurrent.ProgressiveFuture<Void>removeListener in interface io.netty.util.concurrent.ProgressivePromise<Void>removeListener in interface io.netty.util.concurrent.Promise<Void>ChannelProgressivePromise removeListeners(io.netty.util.concurrent.GenericFutureListener<? extends io.netty.util.concurrent.Future<? super Void>>... listeners)
removeListeners in interface ChannelFutureremoveListeners in interface ChannelProgressiveFutureremoveListeners in interface ChannelPromiseremoveListeners in interface io.netty.util.concurrent.ProgressiveFuture<Void>removeListeners in interface io.netty.util.concurrent.ProgressivePromise<Void>removeListeners in interface io.netty.util.concurrent.Promise<Void>ChannelProgressivePromise sync() throws InterruptedException
sync in interface ChannelFuturesync in interface ChannelProgressiveFuturesync in interface ChannelPromisesync in interface io.netty.util.concurrent.ProgressiveFuture<Void>sync in interface io.netty.util.concurrent.ProgressivePromise<Void>sync in interface io.netty.util.concurrent.Promise<Void>InterruptedExceptionChannelProgressivePromise syncUninterruptibly()
syncUninterruptibly in interface ChannelFuturesyncUninterruptibly in interface ChannelProgressiveFuturesyncUninterruptibly in interface ChannelPromisesyncUninterruptibly in interface io.netty.util.concurrent.ProgressiveFuture<Void>syncUninterruptibly in interface io.netty.util.concurrent.ProgressivePromise<Void>syncUninterruptibly in interface io.netty.util.concurrent.Promise<Void>ChannelProgressivePromise await() throws InterruptedException
await in interface ChannelFutureawait in interface ChannelProgressiveFutureawait in interface ChannelPromiseawait in interface io.netty.util.concurrent.ProgressiveFuture<Void>await in interface io.netty.util.concurrent.ProgressivePromise<Void>await in interface io.netty.util.concurrent.Promise<Void>InterruptedExceptionChannelProgressivePromise awaitUninterruptibly()
awaitUninterruptibly in interface ChannelFutureawaitUninterruptibly in interface ChannelProgressiveFutureawaitUninterruptibly in interface ChannelPromiseawaitUninterruptibly in interface io.netty.util.concurrent.ProgressiveFuture<Void>awaitUninterruptibly in interface io.netty.util.concurrent.ProgressivePromise<Void>awaitUninterruptibly in interface io.netty.util.concurrent.Promise<Void>ChannelProgressivePromise setSuccess(Void result)
setSuccess in interface ChannelPromisesetSuccess in interface io.netty.util.concurrent.ProgressivePromise<Void>setSuccess in interface io.netty.util.concurrent.Promise<Void>ChannelProgressivePromise setSuccess()
setSuccess in interface ChannelPromiseChannelProgressivePromise setFailure(Throwable cause)
setFailure in interface ChannelPromisesetFailure in interface io.netty.util.concurrent.ProgressivePromise<Void>setFailure in interface io.netty.util.concurrent.Promise<Void>ChannelProgressivePromise setProgress(long progress, long total)
setProgress in interface io.netty.util.concurrent.ProgressivePromise<Void>ChannelProgressivePromise unvoid()
ChannelPromiseunvoid in interface ChannelPromiseCopyright © 2008–2025 The Netty Project. All rights reserved.