Future
which is used to indicate the progress of an operation.
Modifier and Type | Method and Description |
---|---|
public ProgressiveFuture | addListener(GenericFutureListener<? extends Future<? super V>> listener)
Redeclares io. |
public ProgressiveFuture | addListeners(GenericFutureListener<? extends Future<? super V>>... listeners)
Redeclares io. |
public ProgressiveFuture | |
public ProgressiveFuture | awaitUninterruptibly()
Redeclares io. |
public ProgressiveFuture | removeListener(GenericFutureListener<? extends Future<? super V>> listener)
Redeclares io. |
public ProgressiveFuture | removeListeners(GenericFutureListener<? extends Future<? super V>>... listeners)
Redeclares io. |
public ProgressiveFuture | sync()
Redeclares io. |
public ProgressiveFuture | syncUninterruptibly()
Redeclares io. |
addListener | back to summary |
---|---|
public ProgressiveFuture Redeclares io. Doc from io. 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.
|
addListeners | back to summary |
---|---|
public ProgressiveFuture Redeclares io. Doc from io. 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.
|
await | back to summary |
---|---|
public ProgressiveFuture Redeclares io. Doc from io. Waits for this future to be completed.
|
awaitUninterruptibly | back to summary |
---|---|
public ProgressiveFuture Redeclares io. Doc from io. Waits for this future to be completed without
interruption. This method catches an
|
removeListener | back to summary |
---|---|
public ProgressiveFuture Redeclares io. Doc from io. 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.
|
removeListeners | back to summary |
---|---|
public ProgressiveFuture Redeclares io. Doc from io. 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.
|
sync | back to summary |
---|---|
public ProgressiveFuture Redeclares io. Doc from io. Waits for this future until it is done, and rethrows the cause of the failure if this future failed.
|
syncUninterruptibly | back to summary |
---|---|
public ProgressiveFuture Redeclares io. Doc from io. Waits for this future until it is done, and rethrows the cause of the failure if this future failed.
|