Package io.temporal.internal.activity
Interface InternalActivityExecutionContext
-
- All Superinterfaces:
ActivityExecutionContext
public interface InternalActivityExecutionContext extends ActivityExecutionContext
Internal context object passed to an Activity implementation, providing more internal details than the user facingActivityExecutionContext.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcancelOutstandingHeartbeat()Cancel any pending heartbeat and discard cached heartbeat details.java.lang.ObjectgetLastHeartbeatValue()Get the latest value ofActivityExecutionContext.heartbeat(Object).-
Methods inherited from interface io.temporal.activity.ActivityExecutionContext
doNotCompleteOnReturn, getHeartbeatDetails, getHeartbeatDetails, getInfo, getInstance, getLastHeartbeatDetails, getLastHeartbeatDetails, getMetricsScope, getTaskToken, getWorkflowClient, heartbeat, isDoNotCompleteOnReturn, isUseLocalManualCompletion, useLocalManualCompletion
-
-
-
-
Method Detail
-
getLastHeartbeatValue
java.lang.Object getLastHeartbeatValue()
Get the latest value ofActivityExecutionContext.heartbeat(Object).
-
cancelOutstandingHeartbeat
void cancelOutstandingHeartbeat()
Cancel any pending heartbeat and discard cached heartbeat details.
-
-