Package | Description |
---|---|
com.espertech.esper.metrics.codahale_metrics.metrics |
Metrics (Codahale).
|
com.espertech.esper.metrics.codahale_metrics.metrics.core |
Metrics core (Codehale).
|
com.espertech.esper.metrics.codahale_metrics.metrics.reporting |
Metrics reporting (Codehale).
|
Modifier and Type | Method and Description |
---|---|
static Timer |
Metrics.newTimer(java.lang.Class<?> klass,
java.lang.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(java.lang.Class<?> klass,
java.lang.String name,
java.lang.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(java.lang.Class<?> klass,
java.lang.String name,
java.lang.String scope,
java.util.concurrent.TimeUnit durationUnit,
java.util.concurrent.TimeUnit rateUnit)
Creates a new
Timer and registers it under the given class,
name, and scope. |
static Timer |
Metrics.newTimer(java.lang.Class<?> klass,
java.lang.String name,
java.util.concurrent.TimeUnit durationUnit,
java.util.concurrent.TimeUnit rateUnit)
Creates a new
Timer and registers it under the given class
and name. |
static Timer |
Metrics.newTimer(MetricName metricName,
java.util.concurrent.TimeUnit durationUnit,
java.util.concurrent.TimeUnit rateUnit)
Creates a new
Timer and registers it under the given metric
name. |
Modifier and Type | Method and Description |
---|---|
Timer |
MetricsRegistry.newTimer(java.lang.Class<?> klass,
java.lang.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(java.lang.Class<?> klass,
java.lang.String name,
java.lang.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(java.lang.Class<?> klass,
java.lang.String name,
java.lang.String scope,
java.util.concurrent.TimeUnit durationUnit,
java.util.concurrent.TimeUnit rateUnit)
Creates a new
Timer and registers it under the given class, name, and scope. |
Timer |
MetricsRegistry.newTimer(java.lang.Class<?> klass,
java.lang.String name,
java.util.concurrent.TimeUnit durationUnit,
java.util.concurrent.TimeUnit rateUnit)
Creates a new
Timer and registers it under the given class and name. |
Timer |
MetricsRegistry.newTimer(MetricName metricName,
java.util.concurrent.TimeUnit durationUnit,
java.util.concurrent.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.espertech.esper.metrics.codahale_metrics.metrics.reporting.JmxReporter.Context context) |
void |
ConsoleReporter.processTimer(MetricName name,
Timer timer,
java.io.PrintStream stream) |