public class Sampler<V> extends DataProcessor<V,V>
Void| Constructor and Description |
|---|
Sampler(IDataFilter<V> strategy) |
| Modifier and Type | Method and Description |
|---|---|
void |
receive(DataPoint<V> datapoint)
Receive a new data point
|
static <V> Sampler<V> |
skip(int skip) |
static <V> Sampler<V> |
timeBased(long interval) |
add, connectTo, connectTo, receivepublic Sampler(IDataFilter<V> strategy)
public void receive(DataPoint<V> datapoint)
IDataProcessorpublic static <V> Sampler<V> timeBased(long interval)
public static <V> Sampler<V> skip(int skip)
Copyright © 2016. All rights reserved.