Class GenericWorkflowClientImpl
java.lang.Object
io.temporal.internal.client.external.GenericWorkflowClientImpl
- All Implemented Interfaces:
GenericWorkflowClient
-
Constructor Summary
ConstructorsConstructorDescriptionGenericWorkflowClientImpl(io.temporal.serviceclient.WorkflowServiceStubs service, com.uber.m3.tally.Scope metricsScope) -
Method Summary
Modifier and TypeMethodDescriptionvoidcancelActivity(io.temporal.api.workflowservice.v1.RequestCancelActivityExecutionRequest request) io.temporal.api.workflowservice.v1.CountActivityExecutionsResponsecountActivities(io.temporal.api.workflowservice.v1.CountActivityExecutionsRequest request) io.temporal.api.workflowservice.v1.CountNexusOperationExecutionsResponsecountNexusOperationExecutions(io.temporal.api.workflowservice.v1.CountNexusOperationExecutionsRequest request) io.temporal.api.workflowservice.v1.CountWorkflowExecutionsResponsecountWorkflowExecutions(io.temporal.api.workflowservice.v1.CountWorkflowExecutionsRequest request) io.temporal.api.workflowservice.v1.CreateScheduleResponsecreateSchedule(io.temporal.api.workflowservice.v1.CreateScheduleRequest request) io.temporal.api.workflowservice.v1.DeleteNexusOperationExecutionResponsedeleteNexusOperationExecution(io.temporal.api.workflowservice.v1.DeleteNexusOperationExecutionRequest request) io.temporal.api.workflowservice.v1.DeleteScheduleResponsedeleteSchedule(io.temporal.api.workflowservice.v1.DeleteScheduleRequest request) io.temporal.api.workflowservice.v1.DescribeActivityExecutionResponsedescribeActivity(io.temporal.api.workflowservice.v1.DescribeActivityExecutionRequest request) io.temporal.api.workflowservice.v1.DescribeNexusOperationExecutionResponsedescribeNexusOperationExecution(io.temporal.api.workflowservice.v1.DescribeNexusOperationExecutionRequest request) io.temporal.api.workflowservice.v1.DescribeScheduleResponsedescribeSchedule(io.temporal.api.workflowservice.v1.DescribeScheduleRequest request) io.temporal.api.workflowservice.v1.DescribeWorkflowExecutionResponsedescribeWorkflowExecution(io.temporal.api.workflowservice.v1.DescribeWorkflowExecutionRequest request) io.temporal.api.workflowservice.v1.ExecuteMultiOperationResponseexecuteMultiOperation(io.temporal.api.workflowservice.v1.ExecuteMultiOperationRequest req, io.grpc.Deadline deadline) io.temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityResponsegetWorkerBuildIdCompatability(io.temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityRequest req) io.temporal.api.workflowservice.v1.GetWorkerTaskReachabilityResponseGetWorkerTaskReachability(io.temporal.api.workflowservice.v1.GetWorkerTaskReachabilityRequest req) io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryResponsegetWorkflowExecutionHistory(io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryRequest request) CompletableFuture<io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryResponse> getWorkflowExecutionHistoryAsync(io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryRequest request) io.temporal.api.workflowservice.v1.ListActivityExecutionsResponselistActivities(io.temporal.api.workflowservice.v1.ListActivityExecutionsRequest request) CompletableFuture<io.temporal.api.workflowservice.v1.ListActivityExecutionsResponse> listActivitiesAsync(io.temporal.api.workflowservice.v1.ListActivityExecutionsRequest request) CompletableFuture<io.temporal.api.workflowservice.v1.ListNexusOperationExecutionsResponse> listNexusOperationExecutionsAsync(io.temporal.api.workflowservice.v1.ListNexusOperationExecutionsRequest request) CompletableFuture<io.temporal.api.workflowservice.v1.ListSchedulesResponse> listSchedulesAsync(io.temporal.api.workflowservice.v1.ListSchedulesRequest request) io.temporal.api.workflowservice.v1.ListWorkflowExecutionsResponselistWorkflowExecutions(io.temporal.api.workflowservice.v1.ListWorkflowExecutionsRequest listRequest) CompletableFuture<io.temporal.api.workflowservice.v1.ListWorkflowExecutionsResponse> listWorkflowExecutionsAsync(io.temporal.api.workflowservice.v1.ListWorkflowExecutionsRequest listRequest) io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryResponselongPollHistory(io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryRequest request, io.grpc.Deadline deadline) CompletableFuture<io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryResponse> longPollHistoryAsync(io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryRequest request, io.grpc.Deadline deadline) io.temporal.api.workflowservice.v1.PatchScheduleResponsepatchSchedule(io.temporal.api.workflowservice.v1.PatchScheduleRequest request) io.temporal.api.workflowservice.v1.PollActivityExecutionResponsepollActivity(io.temporal.api.workflowservice.v1.PollActivityExecutionRequest request) io.temporal.api.workflowservice.v1.PollActivityExecutionResponsepollActivity(io.temporal.api.workflowservice.v1.PollActivityExecutionRequest request, io.grpc.Deadline deadline) CompletableFuture<io.temporal.api.workflowservice.v1.PollActivityExecutionResponse> pollActivityAsync(io.temporal.api.workflowservice.v1.PollActivityExecutionRequest request, io.grpc.Deadline deadline) io.temporal.api.workflowservice.v1.PollNexusOperationExecutionResponsepollNexusOperationExecution(io.temporal.api.workflowservice.v1.PollNexusOperationExecutionRequest request, io.grpc.Deadline deadline) CompletableFuture<io.temporal.api.workflowservice.v1.PollNexusOperationExecutionResponse> pollNexusOperationExecutionAsync(io.temporal.api.workflowservice.v1.PollNexusOperationExecutionRequest request, io.grpc.Deadline deadline) CompletableFuture<io.temporal.api.workflowservice.v1.PollWorkflowExecutionUpdateResponse> pollUpdateAsync(io.temporal.api.workflowservice.v1.PollWorkflowExecutionUpdateRequest request, io.grpc.Deadline deadline) io.temporal.api.workflowservice.v1.QueryWorkflowResponsequery(io.temporal.api.workflowservice.v1.QueryWorkflowRequest queryParameters) voidrequestCancel(io.temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionRequest request) io.temporal.api.workflowservice.v1.RequestCancelNexusOperationExecutionResponserequestCancelNexusOperationExecution(io.temporal.api.workflowservice.v1.RequestCancelNexusOperationExecutionRequest request) io.temporal.api.workflowservice.v1.SignalWorkflowExecutionResponsesignal(io.temporal.api.workflowservice.v1.SignalWorkflowExecutionRequest request) io.temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionResponsesignalWithStart(io.temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionRequest request) io.temporal.api.workflowservice.v1.StartWorkflowExecutionResponsestart(io.temporal.api.workflowservice.v1.StartWorkflowExecutionRequest request) io.temporal.api.workflowservice.v1.StartActivityExecutionResponsestartActivity(io.temporal.api.workflowservice.v1.StartActivityExecutionRequest request) io.temporal.api.workflowservice.v1.StartNexusOperationExecutionResponsestartNexusOperationExecution(io.temporal.api.workflowservice.v1.StartNexusOperationExecutionRequest request) voidterminate(io.temporal.api.workflowservice.v1.TerminateWorkflowExecutionRequest request) voidterminateActivity(io.temporal.api.workflowservice.v1.TerminateActivityExecutionRequest request) io.temporal.api.workflowservice.v1.TerminateNexusOperationExecutionResponseterminateNexusOperationExecution(io.temporal.api.workflowservice.v1.TerminateNexusOperationExecutionRequest request) io.temporal.api.workflowservice.v1.UpdateWorkflowExecutionResponseupdate(io.temporal.api.workflowservice.v1.UpdateWorkflowExecutionRequest updateParameters, io.grpc.Deadline deadline) io.temporal.api.workflowservice.v1.UpdateScheduleResponseupdateSchedule(io.temporal.api.workflowservice.v1.UpdateScheduleRequest request) io.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityResponseupdateWorkerBuildIdCompatability(io.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest request)
-
Constructor Details
-
GenericWorkflowClientImpl
public GenericWorkflowClientImpl(io.temporal.serviceclient.WorkflowServiceStubs service, com.uber.m3.tally.Scope metricsScope)
-
-
Method Details
-
start
public io.temporal.api.workflowservice.v1.StartWorkflowExecutionResponse start(io.temporal.api.workflowservice.v1.StartWorkflowExecutionRequest request) - Specified by:
startin interfaceGenericWorkflowClient
-
signal
public io.temporal.api.workflowservice.v1.SignalWorkflowExecutionResponse signal(io.temporal.api.workflowservice.v1.SignalWorkflowExecutionRequest request) - Specified by:
signalin interfaceGenericWorkflowClient
-
signalWithStart
public io.temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionResponse signalWithStart(io.temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionRequest request) - Specified by:
signalWithStartin interfaceGenericWorkflowClient
-
requestCancel
public void requestCancel(io.temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionRequest request) - Specified by:
requestCancelin interfaceGenericWorkflowClient
-
terminate
public void terminate(io.temporal.api.workflowservice.v1.TerminateWorkflowExecutionRequest request) - Specified by:
terminatein interfaceGenericWorkflowClient
-
longPollHistory
public io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryResponse longPollHistory(@Nonnull io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryRequest request, @Nonnull io.grpc.Deadline deadline) - Specified by:
longPollHistoryin interfaceGenericWorkflowClient
-
longPollHistoryAsync
public CompletableFuture<io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryResponse> longPollHistoryAsync(@Nonnull io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryRequest request, @Nonnull io.grpc.Deadline deadline) - Specified by:
longPollHistoryAsyncin interfaceGenericWorkflowClient
-
getWorkflowExecutionHistory
public io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryResponse getWorkflowExecutionHistory(@Nonnull io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryRequest request) - Specified by:
getWorkflowExecutionHistoryin interfaceGenericWorkflowClient
-
getWorkflowExecutionHistoryAsync
public CompletableFuture<io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryResponse> getWorkflowExecutionHistoryAsync(@Nonnull io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryRequest request) - Specified by:
getWorkflowExecutionHistoryAsyncin interfaceGenericWorkflowClient
-
query
public io.temporal.api.workflowservice.v1.QueryWorkflowResponse query(io.temporal.api.workflowservice.v1.QueryWorkflowRequest queryParameters) - Specified by:
queryin interfaceGenericWorkflowClient
-
listWorkflowExecutions
public io.temporal.api.workflowservice.v1.ListWorkflowExecutionsResponse listWorkflowExecutions(io.temporal.api.workflowservice.v1.ListWorkflowExecutionsRequest listRequest) - Specified by:
listWorkflowExecutionsin interfaceGenericWorkflowClient
-
listWorkflowExecutionsAsync
public CompletableFuture<io.temporal.api.workflowservice.v1.ListWorkflowExecutionsResponse> listWorkflowExecutionsAsync(io.temporal.api.workflowservice.v1.ListWorkflowExecutionsRequest listRequest) - Specified by:
listWorkflowExecutionsAsyncin interfaceGenericWorkflowClient
-
countWorkflowExecutions
public io.temporal.api.workflowservice.v1.CountWorkflowExecutionsResponse countWorkflowExecutions(io.temporal.api.workflowservice.v1.CountWorkflowExecutionsRequest request) - Specified by:
countWorkflowExecutionsin interfaceGenericWorkflowClient
-
createSchedule
public io.temporal.api.workflowservice.v1.CreateScheduleResponse createSchedule(io.temporal.api.workflowservice.v1.CreateScheduleRequest request) - Specified by:
createSchedulein interfaceGenericWorkflowClient
-
listSchedulesAsync
public CompletableFuture<io.temporal.api.workflowservice.v1.ListSchedulesResponse> listSchedulesAsync(io.temporal.api.workflowservice.v1.ListSchedulesRequest request) - Specified by:
listSchedulesAsyncin interfaceGenericWorkflowClient
-
updateSchedule
public io.temporal.api.workflowservice.v1.UpdateScheduleResponse updateSchedule(io.temporal.api.workflowservice.v1.UpdateScheduleRequest request) - Specified by:
updateSchedulein interfaceGenericWorkflowClient
-
patchSchedule
public io.temporal.api.workflowservice.v1.PatchScheduleResponse patchSchedule(io.temporal.api.workflowservice.v1.PatchScheduleRequest request) - Specified by:
patchSchedulein interfaceGenericWorkflowClient
-
deleteSchedule
public io.temporal.api.workflowservice.v1.DeleteScheduleResponse deleteSchedule(io.temporal.api.workflowservice.v1.DeleteScheduleRequest request) - Specified by:
deleteSchedulein interfaceGenericWorkflowClient
-
describeSchedule
public io.temporal.api.workflowservice.v1.DescribeScheduleResponse describeSchedule(io.temporal.api.workflowservice.v1.DescribeScheduleRequest request) - Specified by:
describeSchedulein interfaceGenericWorkflowClient
-
describeWorkflowExecution
public io.temporal.api.workflowservice.v1.DescribeWorkflowExecutionResponse describeWorkflowExecution(io.temporal.api.workflowservice.v1.DescribeWorkflowExecutionRequest request) - Specified by:
describeWorkflowExecutionin interfaceGenericWorkflowClient
-
startNexusOperationExecution
public io.temporal.api.workflowservice.v1.StartNexusOperationExecutionResponse startNexusOperationExecution(@Nonnull io.temporal.api.workflowservice.v1.StartNexusOperationExecutionRequest request) - Specified by:
startNexusOperationExecutionin interfaceGenericWorkflowClient
-
describeNexusOperationExecution
public io.temporal.api.workflowservice.v1.DescribeNexusOperationExecutionResponse describeNexusOperationExecution(@Nonnull io.temporal.api.workflowservice.v1.DescribeNexusOperationExecutionRequest request) - Specified by:
describeNexusOperationExecutionin interfaceGenericWorkflowClient
-
pollNexusOperationExecution
public io.temporal.api.workflowservice.v1.PollNexusOperationExecutionResponse pollNexusOperationExecution(@Nonnull io.temporal.api.workflowservice.v1.PollNexusOperationExecutionRequest request, @Nonnull io.grpc.Deadline deadline) - Specified by:
pollNexusOperationExecutionin interfaceGenericWorkflowClient
-
pollNexusOperationExecutionAsync
public CompletableFuture<io.temporal.api.workflowservice.v1.PollNexusOperationExecutionResponse> pollNexusOperationExecutionAsync(@Nonnull io.temporal.api.workflowservice.v1.PollNexusOperationExecutionRequest request, @Nonnull io.grpc.Deadline deadline) - Specified by:
pollNexusOperationExecutionAsyncin interfaceGenericWorkflowClient
-
listNexusOperationExecutionsAsync
public CompletableFuture<io.temporal.api.workflowservice.v1.ListNexusOperationExecutionsResponse> listNexusOperationExecutionsAsync(@Nonnull io.temporal.api.workflowservice.v1.ListNexusOperationExecutionsRequest request) - Specified by:
listNexusOperationExecutionsAsyncin interfaceGenericWorkflowClient
-
countNexusOperationExecutions
public io.temporal.api.workflowservice.v1.CountNexusOperationExecutionsResponse countNexusOperationExecutions(@Nonnull io.temporal.api.workflowservice.v1.CountNexusOperationExecutionsRequest request) - Specified by:
countNexusOperationExecutionsin interfaceGenericWorkflowClient
-
requestCancelNexusOperationExecution
public io.temporal.api.workflowservice.v1.RequestCancelNexusOperationExecutionResponse requestCancelNexusOperationExecution(@Nonnull io.temporal.api.workflowservice.v1.RequestCancelNexusOperationExecutionRequest request) - Specified by:
requestCancelNexusOperationExecutionin interfaceGenericWorkflowClient
-
terminateNexusOperationExecution
public io.temporal.api.workflowservice.v1.TerminateNexusOperationExecutionResponse terminateNexusOperationExecution(@Nonnull io.temporal.api.workflowservice.v1.TerminateNexusOperationExecutionRequest request) - Specified by:
terminateNexusOperationExecutionin interfaceGenericWorkflowClient
-
deleteNexusOperationExecution
public io.temporal.api.workflowservice.v1.DeleteNexusOperationExecutionResponse deleteNexusOperationExecution(@Nonnull io.temporal.api.workflowservice.v1.DeleteNexusOperationExecutionRequest request) - Specified by:
deleteNexusOperationExecutionin interfaceGenericWorkflowClient
-
update
public io.temporal.api.workflowservice.v1.UpdateWorkflowExecutionResponse update(@Nonnull io.temporal.api.workflowservice.v1.UpdateWorkflowExecutionRequest updateParameters, @Nonnull io.grpc.Deadline deadline) - Specified by:
updatein interfaceGenericWorkflowClient
-
pollUpdateAsync
public CompletableFuture<io.temporal.api.workflowservice.v1.PollWorkflowExecutionUpdateResponse> pollUpdateAsync(@Nonnull io.temporal.api.workflowservice.v1.PollWorkflowExecutionUpdateRequest request, @Nonnull io.grpc.Deadline deadline) - Specified by:
pollUpdateAsyncin interfaceGenericWorkflowClient
-
updateWorkerBuildIdCompatability
public io.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityResponse updateWorkerBuildIdCompatability(io.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest request) - Specified by:
updateWorkerBuildIdCompatabilityin interfaceGenericWorkflowClient
-
getWorkerBuildIdCompatability
public io.temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityResponse getWorkerBuildIdCompatability(io.temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityRequest req) - Specified by:
getWorkerBuildIdCompatabilityin interfaceGenericWorkflowClient
-
GetWorkerTaskReachability
public io.temporal.api.workflowservice.v1.GetWorkerTaskReachabilityResponse GetWorkerTaskReachability(io.temporal.api.workflowservice.v1.GetWorkerTaskReachabilityRequest req) - Specified by:
GetWorkerTaskReachabilityin interfaceGenericWorkflowClient
-
executeMultiOperation
public io.temporal.api.workflowservice.v1.ExecuteMultiOperationResponse executeMultiOperation(io.temporal.api.workflowservice.v1.ExecuteMultiOperationRequest req, @Nonnull io.grpc.Deadline deadline) - Specified by:
executeMultiOperationin interfaceGenericWorkflowClient
-
startActivity
public io.temporal.api.workflowservice.v1.StartActivityExecutionResponse startActivity(io.temporal.api.workflowservice.v1.StartActivityExecutionRequest request) - Specified by:
startActivityin interfaceGenericWorkflowClient
-
pollActivity
public io.temporal.api.workflowservice.v1.PollActivityExecutionResponse pollActivity(io.temporal.api.workflowservice.v1.PollActivityExecutionRequest request) - Specified by:
pollActivityin interfaceGenericWorkflowClient
-
pollActivity
public io.temporal.api.workflowservice.v1.PollActivityExecutionResponse pollActivity(io.temporal.api.workflowservice.v1.PollActivityExecutionRequest request, @Nonnull io.grpc.Deadline deadline) - Specified by:
pollActivityin interfaceGenericWorkflowClient
-
pollActivityAsync
public CompletableFuture<io.temporal.api.workflowservice.v1.PollActivityExecutionResponse> pollActivityAsync(io.temporal.api.workflowservice.v1.PollActivityExecutionRequest request, @Nonnull io.grpc.Deadline deadline) - Specified by:
pollActivityAsyncin interfaceGenericWorkflowClient
-
describeActivity
public io.temporal.api.workflowservice.v1.DescribeActivityExecutionResponse describeActivity(io.temporal.api.workflowservice.v1.DescribeActivityExecutionRequest request) - Specified by:
describeActivityin interfaceGenericWorkflowClient
-
cancelActivity
public void cancelActivity(io.temporal.api.workflowservice.v1.RequestCancelActivityExecutionRequest request) - Specified by:
cancelActivityin interfaceGenericWorkflowClient
-
terminateActivity
public void terminateActivity(io.temporal.api.workflowservice.v1.TerminateActivityExecutionRequest request) - Specified by:
terminateActivityin interfaceGenericWorkflowClient
-
listActivities
public io.temporal.api.workflowservice.v1.ListActivityExecutionsResponse listActivities(io.temporal.api.workflowservice.v1.ListActivityExecutionsRequest request) - Specified by:
listActivitiesin interfaceGenericWorkflowClient
-
listActivitiesAsync
public CompletableFuture<io.temporal.api.workflowservice.v1.ListActivityExecutionsResponse> listActivitiesAsync(io.temporal.api.workflowservice.v1.ListActivityExecutionsRequest request) - Specified by:
listActivitiesAsyncin interfaceGenericWorkflowClient
-
countActivities
public io.temporal.api.workflowservice.v1.CountActivityExecutionsResponse countActivities(io.temporal.api.workflowservice.v1.CountActivityExecutionsRequest request) - Specified by:
countActivitiesin interfaceGenericWorkflowClient
-