Class SyncInvocationStage


  • public class SyncInvocationStage
    extends InvocationStage
    Since:
    9.0
    Author:
    Dan Berindei
    • Constructor Detail

      • SyncInvocationStage

        public SyncInvocationStage​(java.lang.Object rv)
      • SyncInvocationStage

        public SyncInvocationStage()
    • Method Detail

      • get

        public java.lang.Object get()
                             throws java.lang.Throwable
        Description copied from class: InvocationStage
        Wait for the invocation to complete and return its value.
        Specified by:
        get in class InvocationStage
        Throws:
        java.lang.Throwable - Any exception raised during the invocation.
      • isDone

        public boolean isDone()
        Specified by:
        isDone in class InvocationStage
        Returns:
        true if the invocation is complete.
      • toCompletableFuture

        public java.util.concurrent.CompletableFuture<java.lang.Object> toCompletableFuture()
        Description copied from class: InvocationStage
        CompletableFuture conversion.
        Specified by:
        toCompletableFuture in class InvocationStage
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object