Package io.netty.channel
Interface ChannelProgressiveFuture
-
- All Superinterfaces:
ChannelFuture,io.netty.util.concurrent.Future<Void>,Future<Void>,io.netty.util.concurrent.ProgressiveFuture<Void>
- All Known Subinterfaces:
ChannelProgressivePromise
- All Known Implementing Classes:
DefaultChannelProgressivePromise
public interface ChannelProgressiveFuture extends ChannelFuture, io.netty.util.concurrent.ProgressiveFuture<Void>
An specialChannelFuturewhich is used to indicate theFileRegiontransfer progress
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ChannelProgressiveFutureaddListener(io.netty.util.concurrent.GenericFutureListener<? extends io.netty.util.concurrent.Future<? super Void>> listener)ChannelProgressiveFutureaddListeners(io.netty.util.concurrent.GenericFutureListener<? extends io.netty.util.concurrent.Future<? super Void>>... listeners)ChannelProgressiveFutureawait()ChannelProgressiveFutureawaitUninterruptibly()ChannelProgressiveFutureremoveListener(io.netty.util.concurrent.GenericFutureListener<? extends io.netty.util.concurrent.Future<? super Void>> listener)ChannelProgressiveFutureremoveListeners(io.netty.util.concurrent.GenericFutureListener<? extends io.netty.util.concurrent.Future<? super Void>>... listeners)ChannelProgressiveFuturesync()ChannelProgressiveFuturesyncUninterruptibly()-
Methods inherited from interface io.netty.channel.ChannelFuture
channel, isVoid
-
Methods inherited from interface io.netty.util.concurrent.Future
await, await, awaitUninterruptibly, awaitUninterruptibly, cancel, cause, getNow, isCancellable, isSuccess
-
Methods inherited from interface java.util.concurrent.Future
get, get, isCancelled, isDone
-
-
-
-
Method Detail
-
addListener
ChannelProgressiveFuture addListener(io.netty.util.concurrent.GenericFutureListener<? extends io.netty.util.concurrent.Future<? super Void>> listener)
- Specified by:
addListenerin interfaceChannelFuture- Specified by:
addListenerin interfaceio.netty.util.concurrent.Future<Void>- Specified by:
addListenerin interfaceio.netty.util.concurrent.ProgressiveFuture<Void>
-
addListeners
ChannelProgressiveFuture addListeners(io.netty.util.concurrent.GenericFutureListener<? extends io.netty.util.concurrent.Future<? super Void>>... listeners)
- Specified by:
addListenersin interfaceChannelFuture- Specified by:
addListenersin interfaceio.netty.util.concurrent.Future<Void>- Specified by:
addListenersin interfaceio.netty.util.concurrent.ProgressiveFuture<Void>
-
removeListener
ChannelProgressiveFuture removeListener(io.netty.util.concurrent.GenericFutureListener<? extends io.netty.util.concurrent.Future<? super Void>> listener)
- Specified by:
removeListenerin interfaceChannelFuture- Specified by:
removeListenerin interfaceio.netty.util.concurrent.Future<Void>- Specified by:
removeListenerin interfaceio.netty.util.concurrent.ProgressiveFuture<Void>
-
removeListeners
ChannelProgressiveFuture removeListeners(io.netty.util.concurrent.GenericFutureListener<? extends io.netty.util.concurrent.Future<? super Void>>... listeners)
- Specified by:
removeListenersin interfaceChannelFuture- Specified by:
removeListenersin interfaceio.netty.util.concurrent.Future<Void>- Specified by:
removeListenersin interfaceio.netty.util.concurrent.ProgressiveFuture<Void>
-
sync
ChannelProgressiveFuture sync() throws InterruptedException
- Specified by:
syncin interfaceChannelFuture- Specified by:
syncin interfaceio.netty.util.concurrent.Future<Void>- Specified by:
syncin interfaceio.netty.util.concurrent.ProgressiveFuture<Void>- Throws:
InterruptedException
-
syncUninterruptibly
ChannelProgressiveFuture syncUninterruptibly()
- Specified by:
syncUninterruptiblyin interfaceChannelFuture- Specified by:
syncUninterruptiblyin interfaceio.netty.util.concurrent.Future<Void>- Specified by:
syncUninterruptiblyin interfaceio.netty.util.concurrent.ProgressiveFuture<Void>
-
await
ChannelProgressiveFuture await() throws InterruptedException
- Specified by:
awaitin interfaceChannelFuture- Specified by:
awaitin interfaceio.netty.util.concurrent.Future<Void>- Specified by:
awaitin interfaceio.netty.util.concurrent.ProgressiveFuture<Void>- Throws:
InterruptedException
-
awaitUninterruptibly
ChannelProgressiveFuture awaitUninterruptibly()
- Specified by:
awaitUninterruptiblyin interfaceChannelFuture- Specified by:
awaitUninterruptiblyin interfaceio.netty.util.concurrent.Future<Void>- Specified by:
awaitUninterruptiblyin interfaceio.netty.util.concurrent.ProgressiveFuture<Void>
-
-