Class ClientProgressManager.RunningTask

    • Constructor Detail

      • RunningTask

        public RunningTask​(java.lang.String uid)
      • RunningTask

        public RunningTask()
    • Method Detail

      • getUid

        public java.lang.String getUid()
        Specified by:
        getUid in interface TaskHandle
      • isDominant

        public boolean isDominant()
      • setDominant

        public void setDominant​(boolean isDominant)
      • notifyStateChanged

        protected void notifyStateChanged()
      • waitForResult

        public java.lang.Object waitForResult​(int timeout)
                                       throws java.lang.Exception
        Waits for the operation to complete, returning its ret value, or passing along an error. The wait time is extended as long as there has been activity- thus an error will be thrown only after timeout has passed with no new activity.
        Specified by:
        waitForResult in interface TaskHandle
        Throws:
        java.lang.Exception
      • finish

        public void finish​(java.lang.Object result)