public class SimpleSampleProcessorService extends Object implements org.opennms.newts.api.SampleProcessorService
| Constructor and Description |
|---|
SimpleSampleProcessorService(Set<org.opennms.newts.api.SampleProcessor> processors) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitShutdown(long timeout,
TimeUnit unit) |
void |
shutdown() |
void |
submit(Collection<org.opennms.newts.api.Sample> samples) |
public SimpleSampleProcessorService(Set<org.opennms.newts.api.SampleProcessor> processors)
public void submit(Collection<org.opennms.newts.api.Sample> samples)
submit in interface org.opennms.newts.api.SampleProcessorServicepublic void shutdown()
throws InterruptedException
shutdown in interface org.opennms.newts.api.SampleProcessorServiceInterruptedExceptionpublic boolean awaitShutdown(long timeout,
TimeUnit unit)
throws InterruptedException
awaitShutdown in interface org.opennms.newts.api.SampleProcessorServiceInterruptedExceptionCopyright © 2020. All rights reserved.