Uses of Class
com.codahale.metrics.MetricRegistry
-
-
Uses of MetricRegistry in com.codahale.metrics
Methods in com.codahale.metrics that return MetricRegistry Modifier and Type Method Description static MetricRegistrySharedMetricRegistries. add(String name, MetricRegistry registry)static MetricRegistrySharedMetricRegistries. getDefault()Gets the name of the default registry, if it has been setstatic MetricRegistrySharedMetricRegistries. getOrCreate(String name)static MetricRegistrySharedMetricRegistries. setDefault(String name)Creates a new registry and sets it as the default one under the provided name.static MetricRegistrySharedMetricRegistries. setDefault(String name, MetricRegistry metricRegistry)Sets the provided registry as the default one under the provided namestatic MetricRegistrySharedMetricRegistries. tryGetDefault()Same asSharedMetricRegistries.getDefault()except returns null when the default registry has not been set.Methods in com.codahale.metrics with parameters of type MetricRegistry Modifier and Type Method Description static MetricRegistrySharedMetricRegistries. add(String name, MetricRegistry registry)static ConsoleReporter.BuilderConsoleReporter. forRegistry(MetricRegistry registry)Returns a newConsoleReporter.BuilderforConsoleReporter.static CsvReporter.BuilderCsvReporter. forRegistry(MetricRegistry registry)Returns a newCsvReporter.BuilderforCsvReporter.static Slf4jReporter.BuilderSlf4jReporter. forRegistry(MetricRegistry registry)Returns a newSlf4jReporter.BuilderforSlf4jReporter.static MetricRegistrySharedMetricRegistries. setDefault(String name, MetricRegistry metricRegistry)Sets the provided registry as the default one under the provided name
-