/* * This code was generated by AWS Flow Framework Annotation Processor. * Refer to Amazon Simple Workflow Service documentation at http://aws.amazon.com/documentation/swf * * Any changes made directly to this file will be lost when * the code is regenerated. */ package com.eucalyptus.simplequeue.workflow; import com.amazonaws.services.simpleworkflow.flow.core.Promise; import com.amazonaws.services.simpleworkflow.flow.StartWorkflowOptions; import com.amazonaws.services.simpleworkflow.flow.WorkflowClient; /** * Generated from {@link com.eucalyptus.simplequeue.workflow.CloudWatchWorkflow}. * Used to invoke child workflows asynchronously from parent workflow code. * Created through {@link CloudWatchWorkflowClientFactory#getClient}. * <p> * When running outside of the scope of a workflow use {@link CloudWatchWorkflowClientExternal} instead. */ public interface CloudWatchWorkflowClient extends WorkflowClient { /** * Generated from {@link com.eucalyptus.simplequeue.workflow.CloudWatchWorkflow#sendMetrics} */ Promise<Void> sendMetrics(); /** * Generated from {@link com.eucalyptus.simplequeue.workflow.CloudWatchWorkflow#sendMetrics} */ Promise<Void> sendMetrics(Promise<?>... waitFor); /** * Generated from {@link com.eucalyptus.simplequeue.workflow.CloudWatchWorkflow#sendMetrics} */ Promise<Void> sendMetrics(StartWorkflowOptions optionsOverride, Promise<?>... waitFor); }