Top Description Methods
io.netty.util.concurrent

public Interface ProgressiveFuture<V>

extends Future<V>
Known Direct Subinterfaces
io.netty.util.concurrent.ProgressivePromise

A Future which is used to indicate the progress of an operation.

Method Summary

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

Redeclares io.netty.util.concurrent.Future.addListener.

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

Redeclares io.netty.util.concurrent.Future.addListeners.

Adds the specified listeners to this future.
public ProgressiveFuture<V>
await()

Redeclares io.netty.util.concurrent.Future.await.

Waits for this future to be completed.
public ProgressiveFuture<V>
awaitUninterruptibly()

Redeclares io.netty.util.concurrent.Future.awaitUninterruptibly.

Waits for this future to be completed without interruption.
public ProgressiveFuture<V>
removeListener(GenericFutureListener<? extends Future<? super V>> listener)

Redeclares io.netty.util.concurrent.Future.removeListener.

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

Redeclares io.netty.util.concurrent.Future.removeListeners.

Removes the first occurrence for each of the listeners from this future.
public ProgressiveFuture<V>
sync()

Redeclares 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.
public ProgressiveFuture<V>
syncUninterruptibly()

Redeclares 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.
Inherited from io.netty.util.concurrent.Future:
awaitawaitawaitUninterruptiblyawaitUninterruptiblycancelcausegetNowisCancellableisSuccess

Method Detail

addListenerback to summary
public ProgressiveFuture<V> addListener(GenericFutureListener<? extends Future<? super V>> listener)

Redeclares io.netty.util.concurrent.Future.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 ProgressiveFuture<V> addListeners(GenericFutureListener<? extends Future<? super V>>... listeners)

Redeclares io.netty.util.concurrent.Future.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 ProgressiveFuture<V> await() throws InterruptedException

Redeclares io.netty.util.concurrent.Future.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 ProgressiveFuture<V> awaitUninterruptibly()

Redeclares io.netty.util.concurrent.Future.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 ProgressiveFuture<V> removeListener(GenericFutureListener<? extends Future<? super V>> listener)

Redeclares io.netty.util.concurrent.Future.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 ProgressiveFuture<V> removeListeners(GenericFutureListener<? extends Future<? super V>>... listeners)

Redeclares io.netty.util.concurrent.Future.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 ProgressiveFuture<V> sync() throws InterruptedException

Redeclares io.netty.util.concurrent.Future.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 ProgressiveFuture<V> syncUninterruptibly()

Redeclares io.netty.util.concurrent.Future.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