public class SlidingAggregator<IN,OUT> extends DataProcessor<IN,OUT>
IAggregate.
Values are aggregated until an incoming data point passes the IDataFilter. The aggregated value
will then be propagated to the connected IDataProcessor and aggregation will be reset.Void| Constructor and Description |
|---|
SlidingAggregator(IDataFilter<IN> IDataFilter,
IAggregate<IN,OUT> aggregator) |
| Modifier and Type | Method and Description |
|---|---|
void |
receive(DataPoint<IN> datapoint)
Receive a new data point
|
add, connectTo, connectTo, receivepublic SlidingAggregator(IDataFilter<IN> IDataFilter, IAggregate<IN,OUT> aggregator)
public void receive(DataPoint<IN> datapoint)
IDataProcessorCopyright © 2016. All rights reserved.