Interface InternalActivityExecutionContext
- All Superinterfaces:
ActivityExecutionContext
Internal context object passed to an Activity implementation, providing more internal details
than the user facing
ActivityExecutionContext.-
Method Summary
Modifier and TypeMethodDescriptionvoidMark this context as returned for async completion.voidCancel any pending heartbeat and discard cached heartbeat details.Get the latest value ofActivityExecutionContext.heartbeat(Object).Methods inherited from interface io.temporal.activity.ActivityExecutionContext
doNotCompleteOnReturn, getCancellationToken, getHeartbeatDetails, getHeartbeatDetails, getInfo, getInstance, getLastHeartbeatDetails, getLastHeartbeatDetails, getMetricsScope, getTaskToken, getWorkflowClient, heartbeat, isDoNotCompleteOnReturn, isUseLocalManualCompletion, useLocalManualCompletion
-
Method Details
-
getLastHeartbeatValue
Object getLastHeartbeatValue()Get the latest value ofActivityExecutionContext.heartbeat(Object). -
asyncCompletionStarted
void asyncCompletionStarted()Mark this context as returned for async completion. -
cancelOutstandingHeartbeat
void cancelOutstandingHeartbeat()Cancel any pending heartbeat and discard cached heartbeat details.
-