Top Description Methods
io.netty.channel

public Interface ChannelProgressiveFuture

extends ChannelFuture, ProgressiveFuture<Void>
Known Direct Subinterfaces
io.netty.channel.ChannelProgressivePromise
Imports
io.netty.util.concurrent.Future, .GenericFutureListener, .ProgressiveFuture

An special ChannelFuture which is used to indicate the FileRegion transfer progress

Method Summary

Modifier and TypeMethod and Description
public ChannelProgressiveFuture
addListener(GenericFutureListener<? extends Future<? super Void>> listener)

Redeclares io.netty.channel.ChannelFuture.addListener, io.netty.util.concurrent.ProgressiveFuture.addListener.

Adds the specified listener to this future.
public ChannelProgressiveFuture
addListeners(GenericFutureListener<? extends Future<? super Void>>... listeners)

Redeclares io.netty.channel.ChannelFuture.addListeners, io.netty.util.concurrent.ProgressiveFuture.addListeners.

Adds the specified listeners to this future.
public ChannelProgressiveFuture
public ChannelProgressiveFuture
public ChannelProgressiveFuture
removeListener(GenericFutureListener<? extends Future<? super Void>> listener)

Redeclares io.netty.channel.ChannelFuture.removeListener, io.netty.util.concurrent.ProgressiveFuture.removeListener.

Removes the first occurrence of the specified listener from this future.
public ChannelProgressiveFuture
removeListeners(GenericFutureListener<? extends Future<? super Void>>... listeners)

Redeclares io.netty.channel.ChannelFuture.removeListeners, io.netty.util.concurrent.ProgressiveFuture.removeListeners.

Removes the first occurrence for each of the listeners from this future.
public ChannelProgressiveFuture
sync()

Redeclares io.netty.channel.ChannelFuture.sync, io.netty.util.concurrent.ProgressiveFuture.sync.

Waits for this future until it is done, and rethrows the cause of the failure if this future failed.
public ChannelProgressiveFuture
syncUninterruptibly()

Redeclares io.netty.channel.ChannelFuture.syncUninterruptibly, io.netty.util.concurrent.ProgressiveFuture.syncUninterruptibly.

Waits for this future until it is done, and rethrows the cause of the failure if this future failed.
Inherited from io.netty.channel.ChannelFuture:
channelisVoid

Method Detail

addListenerback to summary
public ChannelProgressiveFuture addListener(GenericFutureListener<? extends Future<? super Void>> listener)

Redeclares io.netty.channel.ChannelFuture.addListener, io.netty.util.concurrent.ProgressiveFuture.addListener.

Doc from io.netty.util.concurrent.Future.addListener.

Adds the specified listener to this future. The specified listener is notified when this future is done. If this future is already completed, the specified listener is notified immediately.

Annotations
@Override
addListenersback to summary
public ChannelProgressiveFuture addListeners(GenericFutureListener<? extends Future<? super Void>>... listeners)

Redeclares io.netty.channel.ChannelFuture.addListeners, io.netty.util.concurrent.ProgressiveFuture.addListeners.

Doc from io.netty.util.concurrent.Future.addListeners.

Adds the specified listeners to this future. The specified listeners are notified when this future is done. If this future is already completed, the specified listeners are notified immediately.

Annotations
@Override
awaitback to summary
public ChannelProgressiveFuture await() throws InterruptedException

Redeclares io.netty.channel.ChannelFuture.await, io.netty.util.concurrent.ProgressiveFuture.await.

Doc from io.netty.util.concurrent.Future.await.

Waits for this future to be completed.

Annotations
@Override
Exceptions
InterruptedException:
if the current thread was interrupted
awaitUninterruptiblyback to summary
public ChannelProgressiveFuture awaitUninterruptibly()

Redeclares io.netty.channel.ChannelFuture.awaitUninterruptibly, io.netty.util.concurrent.ProgressiveFuture.awaitUninterruptibly.

Doc from io.netty.util.concurrent.Future.awaitUninterruptibly.

Waits for this future to be completed without interruption. This method catches an InterruptedException and discards it silently.

Annotations
@Override
removeListenerback to summary
public ChannelProgressiveFuture removeListener(GenericFutureListener<? extends Future<? super Void>> listener)

Redeclares io.netty.channel.ChannelFuture.removeListener, io.netty.util.concurrent.ProgressiveFuture.removeListener.

Doc from io.netty.util.concurrent.Future.removeListener.

Removes the first occurrence of the specified listener from this future. The specified listener is no longer notified when this future is done. If the specified listener is not associated with this future, this method does nothing and returns silently.

Annotations
@Override
removeListenersback to summary
public ChannelProgressiveFuture removeListeners(GenericFutureListener<? extends Future<? super Void>>... listeners)

Redeclares io.netty.channel.ChannelFuture.removeListeners, io.netty.util.concurrent.ProgressiveFuture.removeListeners.

Doc from io.netty.util.concurrent.Future.removeListeners.

Removes the first occurrence for each of the listeners from this future. The specified listeners are no longer notified when this future is done. If the specified listeners are not associated with this future, this method does nothing and returns silently.

Annotations
@Override
syncback to summary
public ChannelProgressiveFuture sync() throws InterruptedException

Redeclares io.netty.channel.ChannelFuture.sync, io.netty.util.concurrent.ProgressiveFuture.sync.

Doc from io.netty.util.concurrent.Future.sync.

Waits for this future until it is done, and rethrows the cause of the failure if this future failed.

Annotations
@Override
syncUninterruptiblyback to summary
public ChannelProgressiveFuture syncUninterruptibly()

Redeclares io.netty.channel.ChannelFuture.syncUninterruptibly, io.netty.util.concurrent.ProgressiveFuture.syncUninterruptibly.

Doc from io.netty.util.concurrent.Future.syncUninterruptibly.

Waits for this future until it is done, and rethrows the cause of the failure if this future failed.

Annotations
@Override