public class WorkflowServiceTChannel extends java.lang.Object implements IWorkflowService
Modifier and Type | Class and Description |
---|---|
static class |
WorkflowServiceTChannel.ClientOptions |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_CLIENT_APP_NAME |
static int |
DEFAULT_LOCAL_CADENCE_SERVER_PORT |
static java.lang.String |
DEFAULT_SERVICE_NAME
Name of the Cadence service front end as required by TChannel.
|
Constructor and Description |
---|
WorkflowServiceTChannel()
Creates Cadence client that connects to the local instance of the Cadence Service that listens
on a default port (7933).
|
WorkflowServiceTChannel(java.lang.String host,
int port)
Creates Cadence client that connects to the specified host and port using default options.
|
WorkflowServiceTChannel(java.lang.String host,
int port,
WorkflowServiceTChannel.ClientOptions options)
Creates Cadence client that connects to the specified host and port using specified options.
|
WorkflowServiceTChannel(com.uber.tchannel.api.SubChannel subChannel,
WorkflowServiceTChannel.ClientOptions options)
Creates Cadence client with specified sub channel and options.
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
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) |
GetWorkflowExecutionHistoryResponse |
GetWorkflowExecutionHistory(GetWorkflowExecutionHistoryRequest request)
Returns the history of specified workflow execution.
|
void |
GetWorkflowExecutionHistory(GetWorkflowExecutionHistoryRequest getRequest,
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) |
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 |
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) |
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) |
StartWorkflowExecutionResponse |
StartWorkflowExecution(StartWorkflowExecutionRequest request)
StartWorkflowExecution starts a new long running workflow instance.
|
void |
StartWorkflowExecution(StartWorkflowExecutionRequest startRequest,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
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 static final int DEFAULT_LOCAL_CADENCE_SERVER_PORT
public static final java.lang.String DEFAULT_CLIENT_APP_NAME
public static final java.lang.String DEFAULT_SERVICE_NAME
public WorkflowServiceTChannel()
public WorkflowServiceTChannel(java.lang.String host, int port)
host
- host to connectport
- port to connectpublic WorkflowServiceTChannel(java.lang.String host, int port, WorkflowServiceTChannel.ClientOptions options)
host
- host to connectport
- port to connectoptions
- configuration options like rpc timeouts.public WorkflowServiceTChannel(com.uber.tchannel.api.SubChannel subChannel, WorkflowServiceTChannel.ClientOptions options)
subChannel
- sub channel for communicating with cadence frontend service.options
- configuration options like rpc timeouts.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 StartWorkflowExecutionResponse StartWorkflowExecution(StartWorkflowExecutionRequest request) throws org.apache.thrift.TException
WorkflowService.Iface
StartWorkflowExecution
in interface WorkflowService.Iface
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, LimitExceededError, ServiceBusyError, org.apache.thrift.TException
WorkflowService.Iface
RecordActivityTaskHeartbeatByID
in interface WorkflowService.Iface
BadRequestError
InternalServiceError
EntityNotExistsError
DomainNotActiveError
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 BadRequestError, InternalServiceError, EntityNotExistsError, ServiceBusyError, DomainNotActiveError, LimitExceededError, WorkflowExecutionAlreadyStartedError, org.apache.thrift.TException
WorkflowService.Iface
SignalWithStartWorkflowExecution
in interface WorkflowService.Iface
BadRequestError
InternalServiceError
EntityNotExistsError
ServiceBusyError
DomainNotActiveError
LimitExceededError
WorkflowExecutionAlreadyStartedError
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 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, ServiceBusyError, DomainNotActiveError, org.apache.thrift.TException
WorkflowService.Iface
ResetStickyTaskList
in interface WorkflowService.Iface
BadRequestError
InternalServiceError
EntityNotExistsError
LimitExceededError
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 void StartWorkflowExecution(StartWorkflowExecutionRequest startRequest, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
StartWorkflowExecution
in interface WorkflowService.AsyncIface
org.apache.thrift.TException
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) throws org.apache.thrift.TException
SignalWorkflowExecution
in interface WorkflowService.AsyncIface
org.apache.thrift.TException
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 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 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 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