public class NormalizerSampleConsumer extends AbstractSampleConsumer
SampleSaveConfiguration.MILLISECONDS) and reproduce them as a long
value (for faster treatment later in the consuming chain).| Constructor and Description |
|---|
NormalizerSampleConsumer() |
| Modifier and Type | Method and Description |
|---|---|
void |
consume(Sample s,
int channel)
Consumes the specified sample ton the specified channel.
|
void |
startConsuming()
Start the sample consuming.
|
void |
stopConsuming()
Stops the consuming process.
|
addSampleConsumer, getConsumedChannelCount, getConsumedMetadata, getConsumer, getDataFromContext, getName, getWorkingDirectory, produce, removeSampleConsumer, setChannelAttribute, setConsumedMetadata, setDataToContext, setName, setProducedMetadata, setSampleConsumer, setSampleConsumers, setSampleContext, startProducing, stopProducinggetChannelAttribute, getSampleContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetChannelAttribute, getSampleContextpublic void startConsuming()
SampleConsumerpublic void consume(Sample s, int channel)
SampleConsumers - The sample to be consumedchannel - The channel on which the sample is consumedpublic void stopConsuming()
SampleConsumerCopyright © 1998-2023 Apache Software Foundation. All Rights Reserved.