Class DurablePromiseHandleImpl<T>

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void reject​(java.lang.String reason)  
      void resolve​(T payload)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • resolve

        public void resolve​(T payload)
                     throws java.lang.IllegalStateException
        Specified by:
        resolve in interface DurablePromiseHandle<T>
        Throws:
        java.lang.IllegalStateException - if the signal cannot be completed
      • reject

        public void reject​(java.lang.String reason)
                    throws java.lang.IllegalStateException
        Specified by:
        reject in interface DurablePromiseHandle<T>
        Throws:
        java.lang.IllegalStateException - if the signal cannot be completed