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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addMetrics
(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:
getValue
in interfacecom.codahale.metrics.Gauge<T>
-