Interface Summarizer.Combiner
- Enclosing interface:
- Summarizer
public static interface Summarizer.Combiner
A Combiner is used to merge statistics emitted from
Summarizer.Collector.summarize(Summarizer.StatisticConsumer)
and from previous invocations of
itself.- Since:
- 2.0.0
-
Method Summary
-
Method Details
-
merge
This method should merge the statistics in the second map into the first map. Both maps may have statistics produced by aSummarizer.Collector
or previous calls to this method.If first map is too large after this call, then it may not be stored. See the comment on
Summarizer.Collector.summarize(Summarizer.StatisticConsumer)
-