recordActivityHeartbeat
public abstract void recordActivityHeartbeat(java.lang.String details)
throws AmazonServiceException,
AmazonClientException,
java.util.concurrent.CancellationException
Use to notify Simple Workflow that activity execution is alive.
- パラメータ:
details - In case of activity timeout details are returned as a field of
the exception thrown.
- 例外:
AmazonClientException - If any internal errors are encountered inside the client
while attempting to make the request or handle the response.
For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonSimpleWorkflow
indicating either a problem with the data in the request.
Internal service errors are swallowed and not propagated to
the caller.
java.util.concurrent.CancellationException - Indicates that activity cancellation was requested by the
workflow.Should be rethrown from activity implementation to
indicate successful cancellation.