public interface WorkerLifecycle
Modifier and Type | Method and Description |
---|---|
boolean |
awaitTermination(long timeout,
TimeUnit unit) |
void |
shutdown() |
boolean |
shutdownAndAwaitTermination(long timeout,
TimeUnit unit) |
void |
shutdownNow() |
void |
start() |
void start()
void shutdown()
void shutdownNow()
boolean awaitTermination(long timeout, TimeUnit unit) throws InterruptedException
InterruptedException
boolean shutdownAndAwaitTermination(long timeout, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.