Class GenericWorkflowClientImpl
- java.lang.Object
-
- io.temporal.internal.client.external.GenericWorkflowClientImpl
-
- All Implemented Interfaces:
GenericWorkflowClient
public final class GenericWorkflowClientImpl extends java.lang.Object implements GenericWorkflowClient
-
-
Constructor Summary
Constructors Constructor Description GenericWorkflowClientImpl(io.temporal.serviceclient.WorkflowServiceStubs service, com.uber.m3.tally.Scope metricsScope)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.temporal.api.workflowservice.v1.CreateScheduleResponse
createSchedule(io.temporal.api.workflowservice.v1.CreateScheduleRequest request)
io.temporal.api.workflowservice.v1.DeleteScheduleResponse
deleteSchedule(io.temporal.api.workflowservice.v1.DeleteScheduleRequest request)
io.temporal.api.workflowservice.v1.DescribeScheduleResponse
describeSchedule(io.temporal.api.workflowservice.v1.DescribeScheduleRequest request)
io.temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityResponse
getWorkerBuildIdCompatability(io.temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityRequest req)
io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryResponse
getWorkflowExecutionHistory(io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryRequest request)
java.util.concurrent.CompletableFuture<io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryResponse>
getWorkflowExecutionHistoryAsync(io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryRequest request)
java.util.concurrent.CompletableFuture<io.temporal.api.workflowservice.v1.ListSchedulesResponse>
listSchedulesAsync(io.temporal.api.workflowservice.v1.ListSchedulesRequest request)
io.temporal.api.workflowservice.v1.ListWorkflowExecutionsResponse
listWorkflowExecutions(io.temporal.api.workflowservice.v1.ListWorkflowExecutionsRequest listRequest)
java.util.concurrent.CompletableFuture<io.temporal.api.workflowservice.v1.ListWorkflowExecutionsResponse>
listWorkflowExecutionsAsync(io.temporal.api.workflowservice.v1.ListWorkflowExecutionsRequest listRequest)
io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryResponse
longPollHistory(io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryRequest request, io.grpc.Deadline deadline)
java.util.concurrent.CompletableFuture<io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryResponse>
longPollHistoryAsync(io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryRequest request, io.grpc.Deadline deadline)
io.temporal.api.workflowservice.v1.PatchScheduleResponse
patchSchedule(io.temporal.api.workflowservice.v1.PatchScheduleRequest request)
java.util.concurrent.CompletableFuture<io.temporal.api.workflowservice.v1.PollWorkflowExecutionUpdateResponse>
pollUpdateAsync(io.temporal.api.workflowservice.v1.PollWorkflowExecutionUpdateRequest request, io.grpc.Deadline deadline)
io.temporal.api.workflowservice.v1.QueryWorkflowResponse
query(io.temporal.api.workflowservice.v1.QueryWorkflowRequest queryParameters)
void
requestCancel(io.temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionRequest request)
void
signal(io.temporal.api.workflowservice.v1.SignalWorkflowExecutionRequest request)
io.temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionResponse
signalWithStart(io.temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionRequest request)
io.temporal.api.workflowservice.v1.StartWorkflowExecutionResponse
start(io.temporal.api.workflowservice.v1.StartWorkflowExecutionRequest request)
void
terminate(io.temporal.api.workflowservice.v1.TerminateWorkflowExecutionRequest request)
io.temporal.api.workflowservice.v1.UpdateWorkflowExecutionResponse
update(io.temporal.api.workflowservice.v1.UpdateWorkflowExecutionRequest updateParameters, io.grpc.Deadline deadline)
io.temporal.api.workflowservice.v1.UpdateScheduleResponse
updateSchedule(io.temporal.api.workflowservice.v1.UpdateScheduleRequest request)
io.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityResponse
updateWorkerBuildIdCompatability(io.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest request)
-
-
-
Method Detail
-
start
public io.temporal.api.workflowservice.v1.StartWorkflowExecutionResponse start(io.temporal.api.workflowservice.v1.StartWorkflowExecutionRequest request)
- Specified by:
start
in interfaceGenericWorkflowClient
-
signal
public void signal(io.temporal.api.workflowservice.v1.SignalWorkflowExecutionRequest request)
- Specified by:
signal
in interfaceGenericWorkflowClient
-
signalWithStart
public io.temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionResponse signalWithStart(io.temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionRequest request)
- Specified by:
signalWithStart
in interfaceGenericWorkflowClient
-
requestCancel
public void requestCancel(io.temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionRequest request)
- Specified by:
requestCancel
in interfaceGenericWorkflowClient
-
terminate
public void terminate(io.temporal.api.workflowservice.v1.TerminateWorkflowExecutionRequest request)
- Specified by:
terminate
in 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:
longPollHistory
in interfaceGenericWorkflowClient
-
longPollHistoryAsync
public java.util.concurrent.CompletableFuture<io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryResponse> longPollHistoryAsync(@Nonnull io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryRequest request, @Nonnull io.grpc.Deadline deadline)
- Specified by:
longPollHistoryAsync
in interfaceGenericWorkflowClient
-
getWorkflowExecutionHistory
public io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryResponse getWorkflowExecutionHistory(@Nonnull io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryRequest request)
- Specified by:
getWorkflowExecutionHistory
in interfaceGenericWorkflowClient
-
getWorkflowExecutionHistoryAsync
public java.util.concurrent.CompletableFuture<io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryResponse> getWorkflowExecutionHistoryAsync(@Nonnull io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryRequest request)
- Specified by:
getWorkflowExecutionHistoryAsync
in interfaceGenericWorkflowClient
-
query
public io.temporal.api.workflowservice.v1.QueryWorkflowResponse query(io.temporal.api.workflowservice.v1.QueryWorkflowRequest queryParameters)
- Specified by:
query
in interfaceGenericWorkflowClient
-
listWorkflowExecutions
public io.temporal.api.workflowservice.v1.ListWorkflowExecutionsResponse listWorkflowExecutions(io.temporal.api.workflowservice.v1.ListWorkflowExecutionsRequest listRequest)
- Specified by:
listWorkflowExecutions
in interfaceGenericWorkflowClient
-
listWorkflowExecutionsAsync
public java.util.concurrent.CompletableFuture<io.temporal.api.workflowservice.v1.ListWorkflowExecutionsResponse> listWorkflowExecutionsAsync(io.temporal.api.workflowservice.v1.ListWorkflowExecutionsRequest listRequest)
- Specified by:
listWorkflowExecutionsAsync
in interfaceGenericWorkflowClient
-
createSchedule
public io.temporal.api.workflowservice.v1.CreateScheduleResponse createSchedule(io.temporal.api.workflowservice.v1.CreateScheduleRequest request)
- Specified by:
createSchedule
in interfaceGenericWorkflowClient
-
listSchedulesAsync
public java.util.concurrent.CompletableFuture<io.temporal.api.workflowservice.v1.ListSchedulesResponse> listSchedulesAsync(io.temporal.api.workflowservice.v1.ListSchedulesRequest request)
- Specified by:
listSchedulesAsync
in interfaceGenericWorkflowClient
-
updateSchedule
public io.temporal.api.workflowservice.v1.UpdateScheduleResponse updateSchedule(io.temporal.api.workflowservice.v1.UpdateScheduleRequest request)
- Specified by:
updateSchedule
in interfaceGenericWorkflowClient
-
patchSchedule
public io.temporal.api.workflowservice.v1.PatchScheduleResponse patchSchedule(io.temporal.api.workflowservice.v1.PatchScheduleRequest request)
- Specified by:
patchSchedule
in interfaceGenericWorkflowClient
-
deleteSchedule
public io.temporal.api.workflowservice.v1.DeleteScheduleResponse deleteSchedule(io.temporal.api.workflowservice.v1.DeleteScheduleRequest request)
- Specified by:
deleteSchedule
in interfaceGenericWorkflowClient
-
describeSchedule
public io.temporal.api.workflowservice.v1.DescribeScheduleResponse describeSchedule(io.temporal.api.workflowservice.v1.DescribeScheduleRequest request)
- Specified by:
describeSchedule
in 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:
update
in interfaceGenericWorkflowClient
-
pollUpdateAsync
public java.util.concurrent.CompletableFuture<io.temporal.api.workflowservice.v1.PollWorkflowExecutionUpdateResponse> pollUpdateAsync(@Nonnull io.temporal.api.workflowservice.v1.PollWorkflowExecutionUpdateRequest request, @Nonnull io.grpc.Deadline deadline)
- Specified by:
pollUpdateAsync
in interfaceGenericWorkflowClient
-
updateWorkerBuildIdCompatability
public io.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityResponse updateWorkerBuildIdCompatability(io.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest request)
- Specified by:
updateWorkerBuildIdCompatability
in interfaceGenericWorkflowClient
-
getWorkerBuildIdCompatability
public io.temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityResponse getWorkerBuildIdCompatability(io.temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityRequest req)
- Specified by:
getWorkerBuildIdCompatability
in interfaceGenericWorkflowClient
-
-