Package nz.org.riskscape.engine.pipeline
Class DefaultCollection<T>
java.lang.Object
nz.org.riskscape.engine.pipeline.DefaultCollection<T>
- All Implemented Interfaces:
com.codahale.metrics.Gauge<String>,com.codahale.metrics.Metric
Implements a simple single-threaded collection of results from a Collector
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddMetrics(com.codahale.metrics.MetricRegistry registry, String prefix) collect(TupleIterator toCollect) getValue()lazilyCollected(TupleIterator collect)
-
Constructor Details
-
DefaultCollection
-
-
Method Details
-
lazilyCollected
-
collect
-
addMetrics
-
getValue
- Specified by:
getValuein interfacecom.codahale.metrics.Gauge<T>
-