com.amazonaws.services.simpleworkflow.flow
Interface WorkerLifecycle
- All Known Subinterfaces:
- SuspendableWorker, WorkerBase
- All Known Implementing Classes:
- ActivityWorker, GenericActivityWorker, GenericWorker, GenericWorkflowWorker, SpringActivityWorker, SpringWorkflowWorker, WorkflowWorker
public interface WorkerLifecycle
start
void start()
shutdown
void shutdown()
shutdownNow
void shutdownNow()
awaitTermination
boolean awaitTermination(long timeout,
TimeUnit unit)
throws InterruptedException
- Throws:
InterruptedException
shutdownAndAwaitTermination
boolean shutdownAndAwaitTermination(long timeout,
TimeUnit unit)
throws InterruptedException
- Throws:
InterruptedException
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.