public interface IDataCollector<IN> extends IDataProcessor<IN,IN>
Void| Modifier and Type | Method and Description |
|---|---|
void |
feed(IDataProcessor<IN,?> consumer)
Feed all collected data points to the consumer by calling the
consumers receive() method for each data point.
|
List<DataPoint<IN>> |
getDatapoints()
Retrieve an immutable set of all received data points
|
String |
getId()
Get the id of the collector.
|
Object[] |
getValues()
Get all received values
|
int |
size()
The number of data points contained in this collector
|
void feed(IDataProcessor<IN,?> consumer)
consumer - int size()
String getId()
List<DataPoint<IN>> getDatapoints()
Object[] getValues()
Copyright © 2016. All rights reserved.