| Package | Description |
|---|---|
| com.atlassian.util.profiling | |
| com.atlassian.util.profiling.strategy | |
| com.atlassian.util.profiling.strategy.impl |
| Modifier and Type | Field and Description |
|---|---|
static Ticker |
Ticker.NO_OP
Simple no-op
Ticker implementation |
| Modifier and Type | Method and Description |
|---|---|
Ticker |
ProfilerConfiguration.enableForThread() |
Ticker |
LongRunningMetricTimer.start()
Starts a
ticker for a monitored code block |
Ticker |
MetricTimer.start()
Starts a
ticker for a monitored code block |
Ticker |
Timer.start(Object... callParameters)
Starts a
ticker for a profiled code block. |
default Ticker |
Timer.start(String... callParameters)
Starts a
ticker for a profiled code block. |
static Ticker |
Timers.start(String name)
Starts a timer with the given name.
|
Ticker |
Metrics.Builder.startLongRunningTimer()
Starts a
LongRunningMetricTimer with information in the builder. |
static Ticker |
Metrics.startLongRunningTimer(String name)
Deprecated.
since 4.3.0, for removal in 5.0.0, use the
Metrics.metric(String) builder instead. |
static Ticker |
Metrics.startLongRunningTimer(String name,
Collection<MetricTag.RequiredMetricTag> tags)
Deprecated.
since 4.3.0, for removal in 5.0.0, use the
Metrics.metric(String) builder instead. |
static Ticker |
Metrics.startLongRunningTimer(String name,
MetricTag.RequiredMetricTag... tags)
Deprecated.
since 4.3.0, for removal in 5.0.0, use the
Metrics.metric(String) builder instead. |
Ticker |
Metrics.Builder.startTimer()
Starts a
MetricTimer with information in the builder. |
static Ticker |
Metrics.startTimer(String name)
Deprecated.
since 4.3.0, for removal in 5.0.0, use the
Metrics.metric(String) builder instead. |
static Ticker |
Metrics.startTimer(String name,
Collection<MetricTag.RequiredMetricTag> tags)
Deprecated.
since 4.3.0, for removal in 5.0.0, use the
Metrics.metric(String) builder instead. |
static Ticker |
Metrics.startTimer(String name,
MetricTag.RequiredMetricTag... tags)
Deprecated.
since 4.3.0, for removal in 5.0.0, use the
Metrics.metric(String) builder instead. |
static Ticker |
Timers.startWithMetric(String timerName)
Starts a timer with the given name and metrics.
|
static Ticker |
Timers.startWithMetric(String timerName,
MetricTag.RequiredMetricTag... metricTags)
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 Ticker |
Timers.startWithMetric(String timerName,
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 Ticker |
Timers.startWithMetric(String timerName,
String metricName,
MetricTag.RequiredMetricTag... metricTags)
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 |
|---|---|
Ticker |
ProfilerStrategy.start(String frameName)
Called to mark the end of a profiled block of code.
|
default Ticker |
MetricStrategy.startLongRunningTimer(MetricKey metricKey)
Called to time something that is long-running and could benefit from periodic updates on the timer duration.
|
default Ticker |
MetricStrategy.startLongRunningTimer(String metricName)
Called to time something that is long-running and could benefit from periodic updates on the timer duration.
|
default Ticker |
MetricStrategy.startTimer(MetricKey metricKey)
Called to mark the end of a block of code for which metrics should be calculated.
|
Ticker |
MetricStrategy.startTimer(String metricName)
Called to mark the end of a block of code for which metrics should be calculated.
|
| Modifier and Type | Method and Description |
|---|---|
Ticker |
StackProfilerStrategy.start(String name) |
Copyright © 2023 Atlassian. All rights reserved.