Class ContinuationPending

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object getApplicationState()  
      java.lang.Object getContinuation()
      Get continuation object.
      void setApplicationState​(java.lang.Object applicationState)
      Store an arbitrary object that applications can use to associate their state with the continuation.
      void setContinuation​(NativeContinuation continuation)
      Set continuation object.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • setContinuation

        public void setContinuation​(NativeContinuation continuation)
        Set continuation object. Allows subclasses to modify the internal state.
        Parameters:
        continuation - object
      • setApplicationState

        public void setApplicationState​(java.lang.Object applicationState)
        Store an arbitrary object that applications can use to associate their state with the continuation.
        Parameters:
        applicationState - arbitrary application state
      • getApplicationState

        public java.lang.Object getApplicationState()
        Returns:
        arbitrary application state