| Package | Description |
|---|---|
| com.yammer.metrics | |
| com.yammer.metrics.core | |
| com.yammer.metrics.reporting |
| Modifier and Type | Method and Description |
|---|---|
static Timer |
Metrics.newTimer(Class<?> klass,
String name)
Creates a new
Timer and registers it under the given class
and name, measuring elapsed time in milliseconds and invocations per second. |
static Timer |
Metrics.newTimer(Class<?> klass,
String name,
String scope)
Creates a new
Timer and registers it under the given class,
name, and scope, measuring elapsed time in milliseconds and invocations per second. |
static Timer |
Metrics.newTimer(Class<?> klass,
String name,
String scope,
TimeUnit durationUnit,
TimeUnit rateUnit)
Creates a new
Timer and registers it under the given class,
name, and scope. |
static Timer |
Metrics.newTimer(Class<?> klass,
String name,
TimeUnit durationUnit,
TimeUnit rateUnit)
Creates a new
Timer and registers it under the given class
and name. |
static Timer |
Metrics.newTimer(MetricName metricName,
TimeUnit durationUnit,
TimeUnit rateUnit)
Creates a new
Timer and registers it under the given metric
name. |
| Modifier and Type | Method and Description |
|---|---|
Timer |
MetricsRegistry.newTimer(Class<?> klass,
String name)
Creates a new
Timer and registers it under the given class and name, measuring
elapsed time in milliseconds and invocations per second. |
Timer |
MetricsRegistry.newTimer(Class<?> klass,
String name,
String scope)
Creates a new
Timer and registers it under the given class, name, and scope,
measuring elapsed time in milliseconds and invocations per second. |
Timer |
MetricsRegistry.newTimer(Class<?> klass,
String name,
String scope,
TimeUnit durationUnit,
TimeUnit rateUnit)
Creates a new
Timer and registers it under the given class, name, and scope. |
Timer |
MetricsRegistry.newTimer(Class<?> klass,
String name,
TimeUnit durationUnit,
TimeUnit rateUnit)
Creates a new
Timer and registers it under the given class and name. |
Timer |
MetricsRegistry.newTimer(MetricName metricName,
TimeUnit durationUnit,
TimeUnit rateUnit)
Creates a new
Timer and registers it under the given metric name. |
| Modifier and Type | Method and Description |
|---|---|
void |
MetricProcessor.processTimer(MetricName name,
Timer timer,
T context)
Process the given timer.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CsvReporter.processTimer(MetricName name,
Timer timer,
CsvReporter.Context context) |
void |
JmxReporter.processTimer(MetricName name,
Timer timer,
com.yammer.metrics.reporting.JmxReporter.Context context) |
void |
ConsoleReporter.processTimer(MetricName name,
Timer timer,
PrintStream stream) |
Copyright © 2012. All Rights Reserved.