Modifier and Type | Method and Description |
---|---|
static Counter |
Metrics.newCounter(java.lang.Class<?> klass,
java.lang.String name)
Creates a new
Counter and registers it under the given class
and name. |
static Counter |
Metrics.newCounter(java.lang.Class<?> klass,
java.lang.String name,
java.lang.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(java.lang.Class<?> klass,
java.lang.String name)
Creates a new
Counter and registers it under the given class and name. |
Counter |
MetricsRegistry.newCounter(java.lang.Class<?> klass,
java.lang.String name,
java.lang.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.espertech.esper.metrics.codahale_metrics.metrics.reporting.JmxReporter.Context context) |
void |
ConsoleReporter.processCounter(MetricName name,
Counter counter,
java.io.PrintStream stream) |
Constructor and Description |
---|
DeathRattleExceptionHandler(Counter counter)
Creates a new
DeathRattleExceptionHandler with the given Counter . |