Interface TimedAnalytics
-
- All Known Implementing Classes:
TimedAnalyticsImpl
@ParametersAreNonnullByDefault public interface TimedAnalytics
- Since:
- 7.11
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description com.atlassian.util.profiling.Ticker
start(String eventName)
Start a ticker that will send an analytic event at its completion.com.atlassian.util.profiling.Ticker
startAt(String eventName, Duration at)
Start a ticker that will send an analytic event at its completion.static TimedAnalytics
timedAnalytics()
-
-
-
Method Detail
-
timedAnalytics
static TimedAnalytics timedAnalytics()
-
start
com.atlassian.util.profiling.Ticker start(String eventName)
Start a ticker that will send an analytic event at its completion. The event will be sent after the Analytics plugin is ready.- Parameters:
eventName
- name of the analytics event that will get sent at the completion of the split ticker- Returns:
- the ticker
-
startAt
com.atlassian.util.profiling.Ticker startAt(String eventName, Duration at)
Start a ticker that will send an analytic event at its completion. The event will be sent after the Analytics plugin is ready.- Parameters:
eventName
- name of the analytics event that will get sent at the completion of the split tickerat
- when this operation started, relative to application start time- Returns:
- the ticker
-
-