buildMap static method

Map<String, Metric> buildMap()

Creates a new Map implementation for use inside the registry. Override this to create a MetricRegistry with space- or time-bounded metric lifecycles, for example.

Implementation

static Map<String, Metric> buildMap() => <String, Metric>{};