Interface ProgressiveFuture<V>

    • Method Detail

      • addListener

        ProgressiveFuture<V> addListener​(GenericFutureListener<? extends Future<? super V>> listener)
        Description copied from interface: Future
        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.
        Specified by:
        addListener in interface Future<V>
      • addListeners

        ProgressiveFuture<V> addListeners​(GenericFutureListener<? extends Future<? super V>>... listeners)
        Description copied from interface: Future
        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.
        Specified by:
        addListeners in interface Future<V>
      • removeListener

        ProgressiveFuture<V> removeListener​(GenericFutureListener<? extends Future<? super V>> listener)
        Description copied from interface: Future
        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.
        Specified by:
        removeListener in interface Future<V>
      • removeListeners

        ProgressiveFuture<V> removeListeners​(GenericFutureListener<? extends Future<? super V>>... listeners)
        Description copied from interface: Future
        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.
        Specified by:
        removeListeners in interface Future<V>
      • sync

        ProgressiveFuture<V> sync()
                           throws java.lang.InterruptedException
        Description copied from interface: Future
        Waits for this future until it is done, and rethrows the cause of the failure if this future failed.
        Specified by:
        sync in interface Future<V>
        Throws:
        java.lang.InterruptedException
      • syncUninterruptibly

        ProgressiveFuture<V> syncUninterruptibly()
        Description copied from interface: Future
        Waits for this future until it is done, and rethrows the cause of the failure if this future failed.
        Specified by:
        syncUninterruptibly in interface Future<V>
      • await

        ProgressiveFuture<V> await()
                            throws java.lang.InterruptedException
        Description copied from interface: Future
        Waits for this future to be completed.
        Specified by:
        await in interface Future<V>
        Throws:
        java.lang.InterruptedException - if the current thread was interrupted
      • awaitUninterruptibly

        ProgressiveFuture<V> awaitUninterruptibly()
        Description copied from interface: Future
        Waits for this future to be completed without interruption. This method catches an InterruptedException and discards it silently.
        Specified by:
        awaitUninterruptibly in interface Future<V>