public class WorkflowServiceTChannel extends java.lang.Object implements IWorkflowService
Constructor and Description |
---|
WorkflowServiceTChannel(ClientOptions options)
Creates Cadence client that connects to the specified host and port using specified options.
|
WorkflowServiceTChannel(com.uber.tchannel.api.SubChannel subChannel,
ClientOptions options)
Creates Cadence client with specified sub channel and options.
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
CountWorkflowExecutionsResponse |
CountWorkflowExecutions(CountWorkflowExecutionsRequest countRequest)
CountWorkflowExecutions is a visibility API to count of workflow executions in a specific domain.
|
void |
CountWorkflowExecutions(CountWorkflowExecutionsRequest countRequest,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
DeprecateDomain(DeprecateDomainRequest deprecateRequest)
DeprecateDomain us used to update status of a registered domain to DEPRECATED.
|
void |
DeprecateDomain(DeprecateDomainRequest deprecateRequest,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
DescribeDomainResponse |
DescribeDomain(DescribeDomainRequest describeRequest)
DescribeDomain returns the information and configuration for a registered domain.
|
void |
DescribeDomain(DescribeDomainRequest describeRequest,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
DescribeTaskListResponse |
DescribeTaskList(DescribeTaskListRequest request)
DescribeTaskList returns information about the target tasklist, right now this API returns the
pollers which polled this tasklist in last few minutes.
|
void |
DescribeTaskList(DescribeTaskListRequest request,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
DescribeWorkflowExecutionResponse |
DescribeWorkflowExecution(DescribeWorkflowExecutionRequest request)
DescribeWorkflowExecution returns information about the specified workflow execution.
|
void |
DescribeWorkflowExecution(DescribeWorkflowExecutionRequest describeRequest,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
ClusterInfo |
GetClusterInfo()
GetClusterInfo returns information about cadence cluster
|
void |
GetClusterInfo(org.apache.thrift.async.AsyncMethodCallback resultHandler) |
GetSearchAttributesResponse |
GetSearchAttributes()
GetSearchAttributes is a visibility API to get all legal keys that could be used in list APIs
|
void |
GetSearchAttributes(org.apache.thrift.async.AsyncMethodCallback resultHandler) |
GetTaskListsByDomainResponse |
GetTaskListsByDomain(GetTaskListsByDomainRequest getTaskListsByDomainRequest)
GetTaskListsByDomain returns the list of all the task lists for a domainName.
|
void |
GetTaskListsByDomain(GetTaskListsByDomainRequest request,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
GetWorkflowExecutionHistoryResponse |
GetWorkflowExecutionHistory(GetWorkflowExecutionHistoryRequest request)
Returns the history of specified workflow execution.
|
void |
GetWorkflowExecutionHistory(GetWorkflowExecutionHistoryRequest getRequest,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
GetWorkflowExecutionHistoryWithTimeout(GetWorkflowExecutionHistoryRequest getRequest,
org.apache.thrift.async.AsyncMethodCallback resultHandler,
java.lang.Long timeoutInMillis)
GetWorkflowExecutionHistoryWithTimeout get workflow history asynchronously same as
GetWorkflowExecutionHistory but with timeout.
|
GetWorkflowExecutionHistoryResponse |
GetWorkflowExecutionHistoryWithTimeout(GetWorkflowExecutionHistoryRequest request,
java.lang.Long timeoutInMillis)
GetWorkflowExecutionHistoryWithTimeout get workflow history same as GetWorkflowExecutionHistory
but with timeout.
|
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
|
ListArchivedWorkflowExecutionsResponse |
ListArchivedWorkflowExecutions(ListArchivedWorkflowExecutionsRequest listRequest)
ListArchivedWorkflowExecutions is a visibility API to list archived workflow executions in a specific domain.
|
void |
ListArchivedWorkflowExecutions(ListArchivedWorkflowExecutionsRequest listRequest,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
ListClosedWorkflowExecutionsResponse |
ListClosedWorkflowExecutions(ListClosedWorkflowExecutionsRequest request)
ListClosedWorkflowExecutions is a visibility API to list the closed executions in a specific domain.
|
void |
ListClosedWorkflowExecutions(ListClosedWorkflowExecutionsRequest listRequest,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
ListDomainsResponse |
ListDomains(ListDomainsRequest listRequest)
ListDomains returns the information and configuration for all domains.
|
void |
ListDomains(ListDomainsRequest listRequest,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
ListOpenWorkflowExecutionsResponse |
ListOpenWorkflowExecutions(ListOpenWorkflowExecutionsRequest request)
ListOpenWorkflowExecutions is a visibility API to list the open executions in a specific domain.
|
void |
ListOpenWorkflowExecutions(ListOpenWorkflowExecutionsRequest listRequest,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
ListTaskListPartitionsResponse |
ListTaskListPartitions(ListTaskListPartitionsRequest request)
ReapplyEvents applies stale events to the current workflow and current run
|
void |
ListTaskListPartitions(ListTaskListPartitionsRequest request,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
ListWorkflowExecutionsResponse |
ListWorkflowExecutions(ListWorkflowExecutionsRequest request)
ListWorkflowExecutions is a visibility API to list workflow executions in a specific domain.
|
void |
ListWorkflowExecutions(ListWorkflowExecutionsRequest listRequest,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
PollForActivityTaskResponse |
PollForActivityTask(PollForActivityTaskRequest request)
PollForActivityTask is called by application worker to process ActivityTask from a specific taskList.
|
void |
PollForActivityTask(PollForActivityTaskRequest pollRequest,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
PollForDecisionTaskResponse |
PollForDecisionTask(PollForDecisionTaskRequest request)
PollForDecisionTask is called by application worker to process DecisionTask from a specific taskList.
|
void |
PollForDecisionTask(PollForDecisionTaskRequest pollRequest,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
QueryWorkflowResponse |
QueryWorkflow(QueryWorkflowRequest request)
QueryWorkflow returns query result for a specified workflow execution
|
void |
QueryWorkflow(QueryWorkflowRequest queryRequest,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
RecordActivityTaskHeartbeatResponse |
RecordActivityTaskHeartbeat(RecordActivityTaskHeartbeatRequest request)
RecordActivityTaskHeartbeat is called by application worker while it is processing an ActivityTask.
|
void |
RecordActivityTaskHeartbeat(RecordActivityTaskHeartbeatRequest heartbeatRequest,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
RecordActivityTaskHeartbeatResponse |
RecordActivityTaskHeartbeatByID(RecordActivityTaskHeartbeatByIDRequest heartbeatRequest)
RecordActivityTaskHeartbeatByID is called by application worker while it is processing an ActivityTask.
|
void |
RecordActivityTaskHeartbeatByID(RecordActivityTaskHeartbeatByIDRequest heartbeatRequest,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
RegisterDomain(RegisterDomainRequest request)
RegisterDomain creates a new domain which can be used as a container for all resources.
|
void |
RegisterDomain(RegisterDomainRequest registerRequest,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
RequestCancelWorkflowExecution(RequestCancelWorkflowExecutionRequest request)
RequestCancelWorkflowExecution is called by application worker when it wants to request cancellation of a workflow instance.
|
void |
RequestCancelWorkflowExecution(RequestCancelWorkflowExecutionRequest cancelRequest,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
ResetStickyTaskListResponse |
ResetStickyTaskList(ResetStickyTaskListRequest resetRequest)
Reset the sticky tasklist related information in mutable state of a given workflow.
|
void |
ResetStickyTaskList(ResetStickyTaskListRequest resetRequest,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
resetSubchannelPeers() |
ResetWorkflowExecutionResponse |
ResetWorkflowExecution(ResetWorkflowExecutionRequest resetRequest)
ResetWorkflowExecution reset an existing workflow execution to DecisionTaskCompleted event(exclusive).
|
void |
ResetWorkflowExecution(ResetWorkflowExecutionRequest resetRequest,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
RespondActivityTaskCanceled(RespondActivityTaskCanceledRequest request)
RespondActivityTaskCanceled is called by application worker when it is successfully canceled an ActivityTask.
|
void |
RespondActivityTaskCanceled(RespondActivityTaskCanceledRequest canceledRequest,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
RespondActivityTaskCanceledByID(RespondActivityTaskCanceledByIDRequest request)
RespondActivityTaskCanceledByID is called by application worker when it is successfully canceled an ActivityTask.
|
void |
RespondActivityTaskCanceledByID(RespondActivityTaskCanceledByIDRequest canceledRequest,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
RespondActivityTaskCompleted(RespondActivityTaskCompletedRequest request)
RespondActivityTaskCompleted is called by application worker when it is done processing an ActivityTask.
|
void |
RespondActivityTaskCompleted(RespondActivityTaskCompletedRequest completeRequest,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
RespondActivityTaskCompletedByID(RespondActivityTaskCompletedByIDRequest request)
RespondActivityTaskCompletedByID is called by application worker when it is done processing an ActivityTask.
|
void |
RespondActivityTaskCompletedByID(RespondActivityTaskCompletedByIDRequest completeRequest,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
RespondActivityTaskFailed(RespondActivityTaskFailedRequest request)
RespondActivityTaskFailed is called by application worker when it is done processing an ActivityTask.
|
void |
RespondActivityTaskFailed(RespondActivityTaskFailedRequest failRequest,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
RespondActivityTaskFailedByID(RespondActivityTaskFailedByIDRequest request)
RespondActivityTaskFailedByID is called by application worker when it is done processing an ActivityTask.
|
void |
RespondActivityTaskFailedByID(RespondActivityTaskFailedByIDRequest failRequest,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
RespondDecisionTaskCompletedResponse |
RespondDecisionTaskCompleted(RespondDecisionTaskCompletedRequest completedRequest)
RespondDecisionTaskCompleted is called by application worker to complete a DecisionTask handed as a result of
'PollForDecisionTask' API call.
|
void |
RespondDecisionTaskCompleted(RespondDecisionTaskCompletedRequest completeRequest,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
RespondDecisionTaskFailed(RespondDecisionTaskFailedRequest request)
RespondDecisionTaskFailed is called by application worker to indicate failure.
|
void |
RespondDecisionTaskFailed(RespondDecisionTaskFailedRequest failedRequest,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
RespondQueryTaskCompleted(RespondQueryTaskCompletedRequest request)
RespondQueryTaskCompleted is called by application worker to complete a QueryTask (which is a DecisionTask for query)
as a result of 'PollForDecisionTask' API call.
|
void |
RespondQueryTaskCompleted(RespondQueryTaskCompletedRequest completeRequest,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
ListWorkflowExecutionsResponse |
ScanWorkflowExecutions(ListWorkflowExecutionsRequest request)
ScanWorkflowExecutions is a visibility API to list large amount of workflow executions in a specific domain without order.
|
void |
ScanWorkflowExecutions(ListWorkflowExecutionsRequest listRequest,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
StartWorkflowExecutionResponse |
SignalWithStartWorkflowExecution(SignalWithStartWorkflowExecutionRequest signalWithStartRequest)
SignalWithStartWorkflowExecution is used to ensure sending signal to a workflow.
|
void |
SignalWithStartWorkflowExecution(SignalWithStartWorkflowExecutionRequest signalWithStartRequest,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
SignalWorkflowExecution(SignalWorkflowExecutionRequest request)
SignalWorkflowExecution is used to send a signal event to running workflow execution.
|
void |
SignalWorkflowExecution(SignalWorkflowExecutionRequest signalRequest,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
SignalWorkflowExecutionWithTimeout(SignalWorkflowExecutionRequest signalRequest,
org.apache.thrift.async.AsyncMethodCallback resultHandler,
java.lang.Long timeoutInMillis)
SignalWorkflowExecutionWithTimeout signal workflow same as SignalWorkflowExecution but with
timeout
|
StartWorkflowExecutionResponse |
StartWorkflowExecution(StartWorkflowExecutionRequest request)
StartWorkflowExecution starts a new long running workflow instance.
|
void |
StartWorkflowExecution(StartWorkflowExecutionRequest startRequest,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
StartWorkflowExecutionWithTimeout(StartWorkflowExecutionRequest startRequest,
org.apache.thrift.async.AsyncMethodCallback resultHandler,
java.lang.Long timeoutInMillis)
StartWorkflowExecutionWithTimeout start workflow same as StartWorkflowExecution but with
timeout
|
void |
TerminateWorkflowExecution(TerminateWorkflowExecutionRequest request)
TerminateWorkflowExecution terminates an existing workflow execution by recording WorkflowExecutionTerminated event
in the history and immediately terminating the execution instance.
|
void |
TerminateWorkflowExecution(TerminateWorkflowExecutionRequest terminateRequest,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
UpdateDomainResponse |
UpdateDomain(UpdateDomainRequest updateRequest)
UpdateDomain is used to update the information and configuration for a registered domain.
|
void |
UpdateDomain(UpdateDomainRequest updateRequest,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
public WorkflowServiceTChannel(ClientOptions options)
options
- configuration options like rpc timeouts.public WorkflowServiceTChannel(com.uber.tchannel.api.SubChannel subChannel, ClientOptions options)
subChannel
- sub channel for communicating with cadence frontend service.options
- configuration options like rpc timeouts.public void resetSubchannelPeers() throws java.net.UnknownHostException
java.net.UnknownHostException
public java.util.concurrent.CompletableFuture<java.lang.Boolean> isHealthy()
isHealthy
in interface IWorkflowService
public void close()
close
in interface IWorkflowService
public void RegisterDomain(RegisterDomainRequest request) throws org.apache.thrift.TException
WorkflowService.Iface
RegisterDomain
in interface WorkflowService.Iface
org.apache.thrift.TException
public DescribeDomainResponse DescribeDomain(DescribeDomainRequest describeRequest) throws org.apache.thrift.TException
WorkflowService.Iface
DescribeDomain
in interface WorkflowService.Iface
org.apache.thrift.TException
public ListDomainsResponse ListDomains(ListDomainsRequest listRequest) throws BadRequestError, InternalServiceError, EntityNotExistsError, ServiceBusyError, org.apache.thrift.TException
WorkflowService.Iface
ListDomains
in interface WorkflowService.Iface
BadRequestError
InternalServiceError
EntityNotExistsError
ServiceBusyError
org.apache.thrift.TException
public UpdateDomainResponse UpdateDomain(UpdateDomainRequest updateRequest) throws org.apache.thrift.TException
WorkflowService.Iface
UpdateDomain
in interface WorkflowService.Iface
org.apache.thrift.TException
public void DeprecateDomain(DeprecateDomainRequest deprecateRequest) throws org.apache.thrift.TException
WorkflowService.Iface
DeprecateDomain
in interface WorkflowService.Iface
org.apache.thrift.TException
public GetTaskListsByDomainResponse GetTaskListsByDomain(GetTaskListsByDomainRequest getTaskListsByDomainRequest) throws org.apache.thrift.TException
WorkflowService.Iface
GetTaskListsByDomain
in interface WorkflowService.Iface
org.apache.thrift.TException
public StartWorkflowExecutionResponse StartWorkflowExecution(StartWorkflowExecutionRequest request) throws org.apache.thrift.TException
WorkflowService.Iface
StartWorkflowExecution
in interface WorkflowService.Iface
org.apache.thrift.TException
public GetWorkflowExecutionHistoryResponse GetWorkflowExecutionHistoryWithTimeout(GetWorkflowExecutionHistoryRequest request, java.lang.Long timeoutInMillis) throws org.apache.thrift.TException
IWorkflowService
GetWorkflowExecutionHistoryWithTimeout
in interface IWorkflowService
org.apache.thrift.TException
public GetWorkflowExecutionHistoryResponse GetWorkflowExecutionHistory(GetWorkflowExecutionHistoryRequest request) throws org.apache.thrift.TException
WorkflowService.Iface
GetWorkflowExecutionHistory
in interface WorkflowService.Iface
org.apache.thrift.TException
public PollForDecisionTaskResponse PollForDecisionTask(PollForDecisionTaskRequest request) throws org.apache.thrift.TException
WorkflowService.Iface
PollForDecisionTask
in interface WorkflowService.Iface
org.apache.thrift.TException
public RespondDecisionTaskCompletedResponse RespondDecisionTaskCompleted(RespondDecisionTaskCompletedRequest completedRequest) throws org.apache.thrift.TException
WorkflowService.Iface
RespondDecisionTaskCompleted
in interface WorkflowService.Iface
org.apache.thrift.TException
public void RespondDecisionTaskFailed(RespondDecisionTaskFailedRequest request) throws org.apache.thrift.TException
WorkflowService.Iface
RespondDecisionTaskFailed
in interface WorkflowService.Iface
org.apache.thrift.TException
public PollForActivityTaskResponse PollForActivityTask(PollForActivityTaskRequest request) throws org.apache.thrift.TException
WorkflowService.Iface
PollForActivityTask
in interface WorkflowService.Iface
org.apache.thrift.TException
public RecordActivityTaskHeartbeatResponse RecordActivityTaskHeartbeat(RecordActivityTaskHeartbeatRequest request) throws org.apache.thrift.TException
WorkflowService.Iface
RecordActivityTaskHeartbeat
in interface WorkflowService.Iface
org.apache.thrift.TException
public RecordActivityTaskHeartbeatResponse RecordActivityTaskHeartbeatByID(RecordActivityTaskHeartbeatByIDRequest heartbeatRequest) throws BadRequestError, InternalServiceError, EntityNotExistsError, DomainNotActiveError, WorkflowExecutionAlreadyCompletedError, LimitExceededError, ServiceBusyError, org.apache.thrift.TException
WorkflowService.Iface
RecordActivityTaskHeartbeatByID
in interface WorkflowService.Iface
BadRequestError
InternalServiceError
EntityNotExistsError
DomainNotActiveError
WorkflowExecutionAlreadyCompletedError
LimitExceededError
ServiceBusyError
org.apache.thrift.TException
public void RespondActivityTaskCompleted(RespondActivityTaskCompletedRequest request) throws org.apache.thrift.TException
WorkflowService.Iface
RespondActivityTaskCompleted
in interface WorkflowService.Iface
org.apache.thrift.TException
public void RespondActivityTaskCompletedByID(RespondActivityTaskCompletedByIDRequest request) throws org.apache.thrift.TException
WorkflowService.Iface
RespondActivityTaskCompletedByID
in interface WorkflowService.Iface
org.apache.thrift.TException
public void RespondActivityTaskFailed(RespondActivityTaskFailedRequest request) throws org.apache.thrift.TException
WorkflowService.Iface
RespondActivityTaskFailed
in interface WorkflowService.Iface
org.apache.thrift.TException
public void RespondActivityTaskFailedByID(RespondActivityTaskFailedByIDRequest request) throws org.apache.thrift.TException
WorkflowService.Iface
RespondActivityTaskFailedByID
in interface WorkflowService.Iface
org.apache.thrift.TException
public void RespondActivityTaskCanceled(RespondActivityTaskCanceledRequest request) throws org.apache.thrift.TException
WorkflowService.Iface
RespondActivityTaskCanceled
in interface WorkflowService.Iface
org.apache.thrift.TException
public void RespondActivityTaskCanceledByID(RespondActivityTaskCanceledByIDRequest request) throws org.apache.thrift.TException
WorkflowService.Iface
RespondActivityTaskCanceledByID
in interface WorkflowService.Iface
org.apache.thrift.TException
public void RequestCancelWorkflowExecution(RequestCancelWorkflowExecutionRequest request) throws org.apache.thrift.TException
WorkflowService.Iface
RequestCancelWorkflowExecution
in interface WorkflowService.Iface
org.apache.thrift.TException
public void SignalWorkflowExecution(SignalWorkflowExecutionRequest request) throws org.apache.thrift.TException
WorkflowService.Iface
SignalWorkflowExecution
in interface WorkflowService.Iface
org.apache.thrift.TException
public StartWorkflowExecutionResponse SignalWithStartWorkflowExecution(SignalWithStartWorkflowExecutionRequest signalWithStartRequest) throws org.apache.thrift.TException
WorkflowService.Iface
SignalWithStartWorkflowExecution
in interface WorkflowService.Iface
org.apache.thrift.TException
public ResetWorkflowExecutionResponse ResetWorkflowExecution(ResetWorkflowExecutionRequest resetRequest) throws BadRequestError, InternalServiceError, EntityNotExistsError, ServiceBusyError, DomainNotActiveError, LimitExceededError, ClientVersionNotSupportedError, org.apache.thrift.TException
WorkflowService.Iface
ResetWorkflowExecution
in interface WorkflowService.Iface
BadRequestError
InternalServiceError
EntityNotExistsError
ServiceBusyError
DomainNotActiveError
LimitExceededError
ClientVersionNotSupportedError
org.apache.thrift.TException
public void TerminateWorkflowExecution(TerminateWorkflowExecutionRequest request) throws org.apache.thrift.TException
WorkflowService.Iface
TerminateWorkflowExecution
in interface WorkflowService.Iface
org.apache.thrift.TException
public ListOpenWorkflowExecutionsResponse ListOpenWorkflowExecutions(ListOpenWorkflowExecutionsRequest request) throws org.apache.thrift.TException
WorkflowService.Iface
ListOpenWorkflowExecutions
in interface WorkflowService.Iface
org.apache.thrift.TException
public ListClosedWorkflowExecutionsResponse ListClosedWorkflowExecutions(ListClosedWorkflowExecutionsRequest request) throws org.apache.thrift.TException
WorkflowService.Iface
ListClosedWorkflowExecutions
in interface WorkflowService.Iface
org.apache.thrift.TException
public ListWorkflowExecutionsResponse ListWorkflowExecutions(ListWorkflowExecutionsRequest request) throws BadRequestError, InternalServiceError, EntityNotExistsError, ServiceBusyError, ClientVersionNotSupportedError, org.apache.thrift.TException
WorkflowService.Iface
ListWorkflowExecutions
in interface WorkflowService.Iface
BadRequestError
InternalServiceError
EntityNotExistsError
ServiceBusyError
ClientVersionNotSupportedError
org.apache.thrift.TException
public ListArchivedWorkflowExecutionsResponse ListArchivedWorkflowExecutions(ListArchivedWorkflowExecutionsRequest listRequest) throws BadRequestError, EntityNotExistsError, ServiceBusyError, ClientVersionNotSupportedError, org.apache.thrift.TException
WorkflowService.Iface
ListArchivedWorkflowExecutions
in interface WorkflowService.Iface
BadRequestError
EntityNotExistsError
ServiceBusyError
ClientVersionNotSupportedError
org.apache.thrift.TException
public ListWorkflowExecutionsResponse ScanWorkflowExecutions(ListWorkflowExecutionsRequest request) throws BadRequestError, InternalServiceError, EntityNotExistsError, ServiceBusyError, ClientVersionNotSupportedError, org.apache.thrift.TException
WorkflowService.Iface
ScanWorkflowExecutions
in interface WorkflowService.Iface
BadRequestError
InternalServiceError
EntityNotExistsError
ServiceBusyError
ClientVersionNotSupportedError
org.apache.thrift.TException
public CountWorkflowExecutionsResponse CountWorkflowExecutions(CountWorkflowExecutionsRequest countRequest) throws BadRequestError, InternalServiceError, EntityNotExistsError, ServiceBusyError, ClientVersionNotSupportedError, org.apache.thrift.TException
WorkflowService.Iface
CountWorkflowExecutions
in interface WorkflowService.Iface
BadRequestError
InternalServiceError
EntityNotExistsError
ServiceBusyError
ClientVersionNotSupportedError
org.apache.thrift.TException
public GetSearchAttributesResponse GetSearchAttributes() throws InternalServiceError, ServiceBusyError, ClientVersionNotSupportedError, org.apache.thrift.TException
WorkflowService.Iface
GetSearchAttributes
in interface WorkflowService.Iface
InternalServiceError
ServiceBusyError
ClientVersionNotSupportedError
org.apache.thrift.TException
public void RespondQueryTaskCompleted(RespondQueryTaskCompletedRequest request) throws org.apache.thrift.TException
WorkflowService.Iface
RespondQueryTaskCompleted
in interface WorkflowService.Iface
org.apache.thrift.TException
public QueryWorkflowResponse QueryWorkflow(QueryWorkflowRequest request) throws org.apache.thrift.TException
WorkflowService.Iface
QueryWorkflow
in interface WorkflowService.Iface
org.apache.thrift.TException
public ResetStickyTaskListResponse ResetStickyTaskList(ResetStickyTaskListRequest resetRequest) throws BadRequestError, InternalServiceError, EntityNotExistsError, LimitExceededError, WorkflowExecutionAlreadyCompletedError, ServiceBusyError, DomainNotActiveError, org.apache.thrift.TException
WorkflowService.Iface
ResetStickyTaskList
in interface WorkflowService.Iface
BadRequestError
InternalServiceError
EntityNotExistsError
LimitExceededError
WorkflowExecutionAlreadyCompletedError
ServiceBusyError
DomainNotActiveError
org.apache.thrift.TException
public DescribeWorkflowExecutionResponse DescribeWorkflowExecution(DescribeWorkflowExecutionRequest request) throws org.apache.thrift.TException
WorkflowService.Iface
DescribeWorkflowExecution
in interface WorkflowService.Iface
org.apache.thrift.TException
public DescribeTaskListResponse DescribeTaskList(DescribeTaskListRequest request) throws org.apache.thrift.TException
WorkflowService.Iface
DescribeTaskList
in interface WorkflowService.Iface
org.apache.thrift.TException
public ClusterInfo GetClusterInfo() throws InternalServiceError, ServiceBusyError, org.apache.thrift.TException
WorkflowService.Iface
GetClusterInfo
in interface WorkflowService.Iface
InternalServiceError
ServiceBusyError
org.apache.thrift.TException
public ListTaskListPartitionsResponse ListTaskListPartitions(ListTaskListPartitionsRequest request) throws BadRequestError, EntityNotExistsError, LimitExceededError, ServiceBusyError, org.apache.thrift.TException
WorkflowService.Iface
ListTaskListPartitions
in interface WorkflowService.Iface
BadRequestError
EntityNotExistsError
LimitExceededError
ServiceBusyError
org.apache.thrift.TException
public void StartWorkflowExecution(StartWorkflowExecutionRequest startRequest, org.apache.thrift.async.AsyncMethodCallback resultHandler)
StartWorkflowExecution
in interface WorkflowService.AsyncIface
public void StartWorkflowExecutionWithTimeout(StartWorkflowExecutionRequest startRequest, org.apache.thrift.async.AsyncMethodCallback resultHandler, java.lang.Long timeoutInMillis)
IWorkflowService
StartWorkflowExecutionWithTimeout
in interface IWorkflowService
public void GetWorkflowExecutionHistoryWithTimeout(GetWorkflowExecutionHistoryRequest getRequest, org.apache.thrift.async.AsyncMethodCallback resultHandler, java.lang.Long timeoutInMillis)
IWorkflowService
GetWorkflowExecutionHistoryWithTimeout
in interface IWorkflowService
public void GetWorkflowExecutionHistory(GetWorkflowExecutionHistoryRequest getRequest, org.apache.thrift.async.AsyncMethodCallback resultHandler)
GetWorkflowExecutionHistory
in interface WorkflowService.AsyncIface
public void PollForDecisionTask(PollForDecisionTaskRequest pollRequest, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
PollForDecisionTask
in interface WorkflowService.AsyncIface
org.apache.thrift.TException
public void RespondDecisionTaskCompleted(RespondDecisionTaskCompletedRequest completeRequest, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
RespondDecisionTaskCompleted
in interface WorkflowService.AsyncIface
org.apache.thrift.TException
public void RespondDecisionTaskFailed(RespondDecisionTaskFailedRequest failedRequest, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
RespondDecisionTaskFailed
in interface WorkflowService.AsyncIface
org.apache.thrift.TException
public void PollForActivityTask(PollForActivityTaskRequest pollRequest, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
PollForActivityTask
in interface WorkflowService.AsyncIface
org.apache.thrift.TException
public void RecordActivityTaskHeartbeat(RecordActivityTaskHeartbeatRequest heartbeatRequest, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
RecordActivityTaskHeartbeat
in interface WorkflowService.AsyncIface
org.apache.thrift.TException
public void RecordActivityTaskHeartbeatByID(RecordActivityTaskHeartbeatByIDRequest heartbeatRequest, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
RecordActivityTaskHeartbeatByID
in interface WorkflowService.AsyncIface
org.apache.thrift.TException
public void RespondActivityTaskCompleted(RespondActivityTaskCompletedRequest completeRequest, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
RespondActivityTaskCompleted
in interface WorkflowService.AsyncIface
org.apache.thrift.TException
public void RespondActivityTaskCompletedByID(RespondActivityTaskCompletedByIDRequest completeRequest, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
RespondActivityTaskCompletedByID
in interface WorkflowService.AsyncIface
org.apache.thrift.TException
public void RespondActivityTaskFailed(RespondActivityTaskFailedRequest failRequest, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
RespondActivityTaskFailed
in interface WorkflowService.AsyncIface
org.apache.thrift.TException
public void RespondActivityTaskFailedByID(RespondActivityTaskFailedByIDRequest failRequest, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
RespondActivityTaskFailedByID
in interface WorkflowService.AsyncIface
org.apache.thrift.TException
public void RespondActivityTaskCanceled(RespondActivityTaskCanceledRequest canceledRequest, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
RespondActivityTaskCanceled
in interface WorkflowService.AsyncIface
org.apache.thrift.TException
public void RespondActivityTaskCanceledByID(RespondActivityTaskCanceledByIDRequest canceledRequest, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
RespondActivityTaskCanceledByID
in interface WorkflowService.AsyncIface
org.apache.thrift.TException
public void RequestCancelWorkflowExecution(RequestCancelWorkflowExecutionRequest cancelRequest, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
RequestCancelWorkflowExecution
in interface WorkflowService.AsyncIface
org.apache.thrift.TException
public void SignalWorkflowExecution(SignalWorkflowExecutionRequest signalRequest, org.apache.thrift.async.AsyncMethodCallback resultHandler)
SignalWorkflowExecution
in interface WorkflowService.AsyncIface
public void SignalWorkflowExecutionWithTimeout(SignalWorkflowExecutionRequest signalRequest, org.apache.thrift.async.AsyncMethodCallback resultHandler, java.lang.Long timeoutInMillis)
IWorkflowService
SignalWorkflowExecutionWithTimeout
in interface IWorkflowService
public void SignalWithStartWorkflowExecution(SignalWithStartWorkflowExecutionRequest signalWithStartRequest, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
SignalWithStartWorkflowExecution
in interface WorkflowService.AsyncIface
org.apache.thrift.TException
public void ResetWorkflowExecution(ResetWorkflowExecutionRequest resetRequest, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
ResetWorkflowExecution
in interface WorkflowService.AsyncIface
org.apache.thrift.TException
public void TerminateWorkflowExecution(TerminateWorkflowExecutionRequest terminateRequest, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
TerminateWorkflowExecution
in interface WorkflowService.AsyncIface
org.apache.thrift.TException
public void ListOpenWorkflowExecutions(ListOpenWorkflowExecutionsRequest listRequest, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
ListOpenWorkflowExecutions
in interface WorkflowService.AsyncIface
org.apache.thrift.TException
public void ListClosedWorkflowExecutions(ListClosedWorkflowExecutionsRequest listRequest, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
ListClosedWorkflowExecutions
in interface WorkflowService.AsyncIface
org.apache.thrift.TException
public void ListWorkflowExecutions(ListWorkflowExecutionsRequest listRequest, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
ListWorkflowExecutions
in interface WorkflowService.AsyncIface
org.apache.thrift.TException
public void ListArchivedWorkflowExecutions(ListArchivedWorkflowExecutionsRequest listRequest, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
ListArchivedWorkflowExecutions
in interface WorkflowService.AsyncIface
org.apache.thrift.TException
public void ScanWorkflowExecutions(ListWorkflowExecutionsRequest listRequest, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
ScanWorkflowExecutions
in interface WorkflowService.AsyncIface
org.apache.thrift.TException
public void CountWorkflowExecutions(CountWorkflowExecutionsRequest countRequest, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
CountWorkflowExecutions
in interface WorkflowService.AsyncIface
org.apache.thrift.TException
public void GetSearchAttributes(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
GetSearchAttributes
in interface WorkflowService.AsyncIface
org.apache.thrift.TException
public void RespondQueryTaskCompleted(RespondQueryTaskCompletedRequest completeRequest, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
RespondQueryTaskCompleted
in interface WorkflowService.AsyncIface
org.apache.thrift.TException
public void ResetStickyTaskList(ResetStickyTaskListRequest resetRequest, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
ResetStickyTaskList
in interface WorkflowService.AsyncIface
org.apache.thrift.TException
public void QueryWorkflow(QueryWorkflowRequest queryRequest, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
QueryWorkflow
in interface WorkflowService.AsyncIface
org.apache.thrift.TException
public void DescribeWorkflowExecution(DescribeWorkflowExecutionRequest describeRequest, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
DescribeWorkflowExecution
in interface WorkflowService.AsyncIface
org.apache.thrift.TException
public void DescribeTaskList(DescribeTaskListRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
DescribeTaskList
in interface WorkflowService.AsyncIface
org.apache.thrift.TException
public void GetClusterInfo(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
GetClusterInfo
in interface WorkflowService.AsyncIface
org.apache.thrift.TException
public void ListTaskListPartitions(ListTaskListPartitionsRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
ListTaskListPartitions
in interface WorkflowService.AsyncIface
org.apache.thrift.TException
public void RegisterDomain(RegisterDomainRequest registerRequest, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
RegisterDomain
in interface WorkflowService.AsyncIface
org.apache.thrift.TException
public void DescribeDomain(DescribeDomainRequest describeRequest, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
DescribeDomain
in interface WorkflowService.AsyncIface
org.apache.thrift.TException
public void ListDomains(ListDomainsRequest listRequest, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
ListDomains
in interface WorkflowService.AsyncIface
org.apache.thrift.TException
public void UpdateDomain(UpdateDomainRequest updateRequest, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
UpdateDomain
in interface WorkflowService.AsyncIface
org.apache.thrift.TException
public void DeprecateDomain(DeprecateDomainRequest deprecateRequest, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
DeprecateDomain
in interface WorkflowService.AsyncIface
org.apache.thrift.TException
public void GetTaskListsByDomain(GetTaskListsByDomainRequest request, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
GetTaskListsByDomain
in interface WorkflowService.AsyncIface
org.apache.thrift.TException