Interface Summary Interface Description ActivityCompletionClientUsed to complete asynchronously activities that called
BatchRequestUsed to accumulate multiple operations WorkflowClientClient to the Cadence service used to start and query workflows by external processes. WorkflowClientInterceptor WorkflowStubWorkflowStub is a client side stub to a single workflow instance.
Class Summary Class Description QueryOptions QueryOptions.Builder WorkflowClientInterceptorBase WorkflowClientOptionsOptions for WorkflowClient configuration. WorkflowClientOptions.Builder WorkflowOptions WorkflowOptions.Builder
Exception Summary Exception Description ActivityCancelledExceptionUsually indicates that activity was already completed (duplicated request to complete) or timed out or workflow is closed. ActivityCompletionExceptionBase exception for all failures returned by an activity completion client. ActivityCompletionFailureExceptionUnexpected failure when completing an activity. ActivityNotExistsExceptionUsually indicates that activity was already completed (duplicated request to complete) or timed out or workflow is closed. ActivityWorkerShutdownException DuplicateWorkflowExceptionThis exception is thrown in the following cases: Workflow with the same WorkflowID is currently running. WorkflowAlreadyCompletedExceptionThrown when workflow already completed its execution and when the client is trying to run an operation on the workflow like signal, terminate, cancel, poll etc. WorkflowExceptionBase exception for all workflow failures returned by an external client. WorkflowFailureExceptionIndicates that a workflow failed. WorkflowNotFoundExceptionThrown when workflow with the given id is not known to the cadence service. WorkflowQueryException WorkflowQueryRejectedException WorkflowServiceException WorkflowTerminatedExceptionIndicates that a workflow was forcefully terminated by an external command to Cadence service. WorkflowTimedOutExceptionIndicates that a workflow exceeded its execution timeout and was forcefully terminated by the Cadence service.