Interface ListenableFuture<T>

All Superinterfaces:
Future<T>
All Known Implementing Classes:
InlineListenableFuture

public interface ListenableFuture<T> extends Future<T>
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    register a listener to be run on completion or immediately if complete any exceptions will be caught and logged

    Methods inherited from interface java.util.concurrent.Future

    cancel, get, get, isCancelled, isDone
  • Method Details

    • addListener

      void addListener(Runnable listener)
      register a listener to be run on completion or immediately if complete any exceptions will be caught and logged
      Parameters:
      listener -