public interface SampleProcessorService
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitShutdown(long timeout,
TimeUnit unit)
Invokes
awaitShutdown() on the underlying thread pool executor if any. |
void |
shutdown()
Calls
shutdown() on the underlying thread pool executor if any. |
void |
submit(Collection<Sample> samples) |
void submit(Collection<Sample> samples)
void shutdown()
throws InterruptedException
shutdown() on the underlying thread pool executor if any.InterruptedExceptionboolean awaitShutdown(long timeout,
TimeUnit unit)
throws InterruptedException
awaitShutdown() on the underlying thread pool executor if any.timeout - the maximum time to waitunit - the time unit of the timeout argumentInterruptedExceptionCopyright © 2017. All rights reserved.