public class SynchronousActivityTaskPoller extends Object implements TaskPoller
Constructor and Description |
---|
SynchronousActivityTaskPoller() |
SynchronousActivityTaskPoller(AmazonSimpleWorkflow service,
String domain,
String taskListToPoll,
ActivityImplementationFactory activityImplementationFactory) |
public SynchronousActivityTaskPoller(AmazonSimpleWorkflow service, String domain, String taskListToPoll, ActivityImplementationFactory activityImplementationFactory)
public SynchronousActivityTaskPoller()
public AmazonSimpleWorkflow getService()
public void setService(AmazonSimpleWorkflow service)
public String getDomain()
public void setDomain(String domain)
public String getPollTaskList()
public void setTaskListToPoll(String taskList)
public ActivityImplementationFactory getActivityImplementationFactory()
public void setActivityImplementationFactory(ActivityImplementationFactory activityImplementationFactory)
public String getIdentity()
public void setIdentity(String identity)
public ExponentialRetryParameters getReportCompletionRetryParameters()
public void setReportCompletionRetryParameters(ExponentialRetryParameters reportCompletionRetryParameters)
public ExponentialRetryParameters getReportFailureRetryParameters()
public void setReportFailureRetryParameters(ExponentialRetryParameters reportFailureRetryParameters)
public String getTaskListToPoll()
public ActivityTask poll()
#getPollTimeoutInSeconds()
public boolean pollAndProcessSingleTask() throws Exception
pollAndProcessSingleTask
in interface TaskPoller
Exception
public void shutdown()
shutdown
in interface TaskPoller
public void shutdownNow()
shutdownNow
in interface TaskPoller
public boolean awaitTermination(long left, TimeUnit milliseconds) throws InterruptedException
awaitTermination
in interface TaskPoller
InterruptedException
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.