| Package | Description |
|---|---|
| com.yammer.metrics | |
| com.yammer.metrics.core | |
| com.yammer.metrics.reporting | |
| com.yammer.metrics.util |
| Modifier and Type | Method and Description |
|---|---|
static Counter |
Metrics.newCounter(Class<?> klass,
String name)
Creates a new
Counter and registers it under the given class
and name. |
static Counter |
Metrics.newCounter(Class<?> klass,
String name,
String scope)
Creates a new
Counter and registers it under the given class
and name. |
static Counter |
Metrics.newCounter(MetricName metricName)
Creates a new
Counter and registers it under the given metric
name. |
| Modifier and Type | Method and Description |
|---|---|
Counter |
MetricsRegistry.newCounter(Class<?> klass,
String name)
Creates a new
Counter and registers it under the given class and name. |
Counter |
MetricsRegistry.newCounter(Class<?> klass,
String name,
String scope)
Creates a new
Counter and registers it under the given class and name. |
Counter |
MetricsRegistry.newCounter(MetricName metricName)
Creates a new
Counter and registers it under the given metric name. |
| Modifier and Type | Method and Description |
|---|---|
void |
MetricProcessor.processCounter(MetricName name,
Counter counter,
T context)
Process the given counter.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CsvReporter.processCounter(MetricName name,
Counter counter,
CsvReporter.Context context) |
void |
JmxReporter.processCounter(MetricName name,
Counter counter,
com.yammer.metrics.reporting.JmxReporter.Context context) |
void |
ConsoleReporter.processCounter(MetricName name,
Counter counter,
PrintStream stream) |
| Constructor and Description |
|---|
DeathRattleExceptionHandler(Counter counter)
Creates a new
DeathRattleExceptionHandler with the given Counter. |
Copyright © 2012. All Rights Reserved.