Interface IWorkflowService

    • Method Detail

      • close

        void close()
      • StartWorkflowExecutionWithTimeout

        void StartWorkflowExecutionWithTimeout​(StartWorkflowExecutionRequest startRequest,
                                               org.apache.thrift.async.AsyncMethodCallback resultHandler,
                                               java.lang.Long timeoutInMillis)
                                        throws org.apache.thrift.TException
        StartWorkflowExecutionWithTimeout start workflow same as StartWorkflowExecution but with timeout
        Parameters:
        startRequest -
        resultHandler -
        timeoutInMillis -
        Throws:
        org.apache.thrift.TException
      • GetWorkflowExecutionHistoryWithTimeout

        GetWorkflowExecutionHistoryResponse GetWorkflowExecutionHistoryWithTimeout​(GetWorkflowExecutionHistoryRequest getRequest,
                                                                                   java.lang.Long timeoutInMillis)
                                                                            throws org.apache.thrift.TException
        GetWorkflowExecutionHistoryWithTimeout get workflow history same as GetWorkflowExecutionHistory but with timeout.
        Parameters:
        getRequest -
        timeoutInMillis -
        Returns:
        GetWorkflowExecutionHistoryResponse
        Throws:
        org.apache.thrift.TException
      • GetWorkflowExecutionHistoryWithTimeout

        void GetWorkflowExecutionHistoryWithTimeout​(GetWorkflowExecutionHistoryRequest getRequest,
                                                    org.apache.thrift.async.AsyncMethodCallback resultHandler,
                                                    java.lang.Long timeoutInMillis)
                                             throws org.apache.thrift.TException
        GetWorkflowExecutionHistoryWithTimeout get workflow history asynchronously same as GetWorkflowExecutionHistory but with timeout.
        Parameters:
        getRequest -
        resultHandler -
        timeoutInMillis -
        Throws:
        org.apache.thrift.TException
      • SignalWorkflowExecutionWithTimeout

        void SignalWorkflowExecutionWithTimeout​(SignalWorkflowExecutionRequest signalRequest,
                                                org.apache.thrift.async.AsyncMethodCallback resultHandler,
                                                java.lang.Long timeoutInMillis)
                                         throws org.apache.thrift.TException
        SignalWorkflowExecutionWithTimeout signal workflow same as SignalWorkflowExecution but with timeout
        Parameters:
        signalRequest -
        resultHandler -
        timeoutInMillis -
        Throws:
        org.apache.thrift.TException
      • isHealthy

        java.util.concurrent.CompletableFuture<java.lang.Boolean> isHealthy()
        Checks if we have a valid connection to the Cadence cluster, and potentially resets the peer list