com.amazonaws.services.simpleworkflow.flow.worker
Interface TaskPoller

All Known Implementing Classes:
ActivityTaskPoller, DecisionTaskPoller, SynchronousActivityTaskPoller

public interface TaskPoller

This interface is for internal use only and may be changed or removed without prior notice.


Method Summary
 boolean awaitTermination(long left, TimeUnit milliseconds)
           
 boolean pollAndProcessSingleTask()
           
 void shutdown()
           
 void shutdownNow()
           
 

Method Detail

pollAndProcessSingleTask

boolean pollAndProcessSingleTask()
                                 throws Exception
Throws:
Exception

shutdown

void shutdown()

shutdownNow

void shutdownNow()

awaitTermination

boolean awaitTermination(long left,
                         TimeUnit milliseconds)
                         throws InterruptedException
Throws:
InterruptedException


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