Class ActivityClientHelper

java.lang.Object
io.temporal.internal.client.ActivityClientHelper

public final class ActivityClientHelper extends Object
Contains methods that could but didn't become a part of the main ManualActivityCompletionClient, because they are not intended to be called by our users directly.
  • Method Summary

    Modifier and Type
    Method
    Description
    static io.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdResponse
    recordActivityTaskHeartbeatById(io.temporal.serviceclient.WorkflowServiceStubs service, String namespace, String identity, io.temporal.api.common.v1.WorkflowExecution execution, String activityId, Optional<io.temporal.api.common.v1.Payloads> payloads, com.uber.m3.tally.Scope metricsScope)
     
    static io.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatResponse
    sendHeartbeatRequest(io.temporal.serviceclient.WorkflowServiceStubs service, String namespace, String identity, byte[] taskToken, Optional<io.temporal.api.common.v1.Payloads> payloads, com.uber.m3.tally.Scope metricsScope)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • sendHeartbeatRequest

      public static io.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatResponse sendHeartbeatRequest(io.temporal.serviceclient.WorkflowServiceStubs service, String namespace, String identity, byte[] taskToken, Optional<io.temporal.api.common.v1.Payloads> payloads, com.uber.m3.tally.Scope metricsScope)
    • recordActivityTaskHeartbeatById

      public static io.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdResponse recordActivityTaskHeartbeatById(io.temporal.serviceclient.WorkflowServiceStubs service, String namespace, String identity, io.temporal.api.common.v1.WorkflowExecution execution, @Nonnull String activityId, Optional<io.temporal.api.common.v1.Payloads> payloads, com.uber.m3.tally.Scope metricsScope)