Class GenericWorkflowClientImpl

    • 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GenericWorkflowClientImpl

        public GenericWorkflowClientImpl​(io.temporal.serviceclient.WorkflowServiceStubs service,
                                         com.uber.m3.tally.Scope metricsScope)
    • Method Detail

      • start

        public io.temporal.api.workflowservice.v1.StartWorkflowExecutionResponse start​(io.temporal.api.workflowservice.v1.StartWorkflowExecutionRequest request)
        Specified by:
        start in interface GenericWorkflowClient
      • signal

        public void signal​(io.temporal.api.workflowservice.v1.SignalWorkflowExecutionRequest request)
        Specified by:
        signal in interface GenericWorkflowClient
      • signalWithStart

        public io.temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionResponse signalWithStart​(io.temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionRequest request)
        Specified by:
        signalWithStart in interface GenericWorkflowClient
      • requestCancel

        public void requestCancel​(io.temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionRequest request)
        Specified by:
        requestCancel in interface GenericWorkflowClient
      • terminate

        public void terminate​(io.temporal.api.workflowservice.v1.TerminateWorkflowExecutionRequest request)
        Specified by:
        terminate in interface GenericWorkflowClient
      • 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 interface GenericWorkflowClient
      • 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 interface GenericWorkflowClient
      • getWorkflowExecutionHistory

        public io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryResponse getWorkflowExecutionHistory​(@Nonnull
                                                                                                                  io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryRequest request)
        Specified by:
        getWorkflowExecutionHistory in interface GenericWorkflowClient
      • 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 interface GenericWorkflowClient
      • query

        public io.temporal.api.workflowservice.v1.QueryWorkflowResponse query​(io.temporal.api.workflowservice.v1.QueryWorkflowRequest queryParameters)
        Specified by:
        query in interface GenericWorkflowClient
      • listWorkflowExecutions

        public io.temporal.api.workflowservice.v1.ListWorkflowExecutionsResponse listWorkflowExecutions​(io.temporal.api.workflowservice.v1.ListWorkflowExecutionsRequest listRequest)
        Specified by:
        listWorkflowExecutions in interface GenericWorkflowClient
      • listWorkflowExecutionsAsync

        public java.util.concurrent.CompletableFuture<io.temporal.api.workflowservice.v1.ListWorkflowExecutionsResponse> listWorkflowExecutionsAsync​(io.temporal.api.workflowservice.v1.ListWorkflowExecutionsRequest listRequest)
        Specified by:
        listWorkflowExecutionsAsync in interface GenericWorkflowClient
      • createSchedule

        public io.temporal.api.workflowservice.v1.CreateScheduleResponse createSchedule​(io.temporal.api.workflowservice.v1.CreateScheduleRequest request)
        Specified by:
        createSchedule in interface GenericWorkflowClient
      • listSchedulesAsync

        public java.util.concurrent.CompletableFuture<io.temporal.api.workflowservice.v1.ListSchedulesResponse> listSchedulesAsync​(io.temporal.api.workflowservice.v1.ListSchedulesRequest request)
        Specified by:
        listSchedulesAsync in interface GenericWorkflowClient
      • updateSchedule

        public io.temporal.api.workflowservice.v1.UpdateScheduleResponse updateSchedule​(io.temporal.api.workflowservice.v1.UpdateScheduleRequest request)
        Specified by:
        updateSchedule in interface GenericWorkflowClient
      • patchSchedule

        public io.temporal.api.workflowservice.v1.PatchScheduleResponse patchSchedule​(io.temporal.api.workflowservice.v1.PatchScheduleRequest request)
        Specified by:
        patchSchedule in interface GenericWorkflowClient
      • deleteSchedule

        public io.temporal.api.workflowservice.v1.DeleteScheduleResponse deleteSchedule​(io.temporal.api.workflowservice.v1.DeleteScheduleRequest request)
        Specified by:
        deleteSchedule in interface GenericWorkflowClient
      • describeSchedule

        public io.temporal.api.workflowservice.v1.DescribeScheduleResponse describeSchedule​(io.temporal.api.workflowservice.v1.DescribeScheduleRequest request)
        Specified by:
        describeSchedule in interface GenericWorkflowClient
      • 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 interface GenericWorkflowClient
      • 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 interface GenericWorkflowClient
      • updateWorkerBuildIdCompatability

        public io.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityResponse updateWorkerBuildIdCompatability​(io.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest request)
        Specified by:
        updateWorkerBuildIdCompatability in interface GenericWorkflowClient
      • getWorkerBuildIdCompatability

        public io.temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityResponse getWorkerBuildIdCompatability​(io.temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityRequest req)
        Specified by:
        getWorkerBuildIdCompatability in interface GenericWorkflowClient