public interface TaskPoller
Modifier and Type | Method and Description |
---|---|
boolean |
awaitTermination(long left,
TimeUnit milliseconds) |
boolean |
pollAndProcessSingleTask() |
void |
shutdown() |
void |
shutdownNow() |
void shutdown()
void shutdownNow()
boolean awaitTermination(long left, TimeUnit milliseconds) throws InterruptedException
InterruptedException