Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.simpleworkflow.flow.annotations
Annotation Type GetState


@Target(value=METHOD)
@Retention(value=RUNTIME)
public @interface GetState

Indicates that method is used to retrieve current workflow state. The method is expected to perform read only access of the workflow implementation object and is invoked synchronously which disallows use of any asynchronous operations (like calling methods annotated with Asynchronous). Method is expected to have empty list of parameters. Promise or void return types are not allowed for the annotated method. The generated external client implementation uses {@link AmazonSimpleWorkflow#describeWorkflowExecution(com.amazonaws.services.simpleworkflow.model.DescribeWorkflowExecutionRequest) visibility API to retrieve the state. It allows access to the sate using external client if decider workers are down and even after workflow execution completion.



Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.