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.SampleProcessorService
public void shutdown() throws InterruptedException
shutdown
in interface org.opennms.newts.api.SampleProcessorService
InterruptedException
public boolean awaitShutdown(long timeout, TimeUnit unit) throws InterruptedException
awaitShutdown
in interface org.opennms.newts.api.SampleProcessorService
InterruptedException
Copyright © 2021. All rights reserved.