Class JdkFutures


  • public final class JdkFutures
    extends Object
    Utility methods pertaining to the Java 5 Future interface.

    Use of JDK Future should generally be avoid, but is prevalent in ODL because the Java Bindings (v1) generated code uses them for all RPC return types.

    Any new hand written code should never use the old Future interface anymore, but instead use either a Guava ListenableFuture, or a Java 8 CompletionStage.

    Author:
    Michael Vorburger.ch