| Package | Description |
|---|---|
| com.atlassian.util.profiling |
| Modifier and Type | Method and Description |
|---|---|
static Timer |
Timers.concat(Timer... timers)
Combine multiple
Timer objects into one, so they can be started and stopped together. |
static Timer |
Timers.timer(String name)
Creates a
Timer with the given name. |
static Timer |
Timers.timerWithMetric(String name)
Creates a
Timer with the given name, and metrics. |
static Timer |
Timers.timerWithMetric(String name,
Collection<MetricTag.RequiredMetricTag> tags)
Deprecated.
since 4.3.0, for removal in 5.0.0, use
Timers.timerWithMetric(String, Metrics.Builder) with
the Metrics.metric(String) builder instead. |
static Timer |
Timers.timerWithMetric(String traceName,
Metrics.Builder metricBuilder)
Creates a
Timer with the given trace name, and metrics based on the builder. |
static Timer |
Timers.timerWithMetric(String name,
MetricTag.RequiredMetricTag... tags)
Deprecated.
since 4.3.0, for removal in 5.0.0, use
Timers.timerWithMetric(String, Metrics.Builder) with
the Metrics.metric(String) builder instead. |
static Timer |
Timers.timerWithMetric(String traceName,
MetricTimer metricTimer)
Creates a
Timer with the given trace name, and mixes in a MetricTimer. |
static Timer |
Timers.timerWithMetric(String traceName,
String metricName)
Deprecated.
since 4.3.0, for removal in 5.0.0, use
Timers.timerWithMetric(String, Metrics.Builder) with
the Metrics.metric(String) builder instead. |
static Timer |
Timers.timerWithMetric(String traceName,
String metricName,
Collection<MetricTag.RequiredMetricTag> tags)
Deprecated.
since 4.3.0, for removal in 5.0.0, use
Timers.timerWithMetric(String, Metrics.Builder) with
the Metrics.metric(String) builder instead. |
static Timer |
Timers.timerWithMetric(String traceName,
String metricName,
MetricTag.RequiredMetricTag... tags)
Deprecated.
since 4.3.0, for removal in 5.0.0, use
Timers.timerWithMetric(String, Metrics.Builder) with
the Metrics.metric(String) builder instead. |
| Modifier and Type | Method and Description |
|---|---|
static Timer |
Timers.concat(Timer... timers)
Combine multiple
Timer objects into one, so they can be started and stopped together. |
Copyright © 2023 Atlassian. All rights reserved.