@ParametersAreNonnullByDefault
public interface TimedAnalytics
Modifier and Type | Method and 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() |
static TimedAnalytics timedAnalytics()
com.atlassian.util.profiling.Ticker start(String eventName)
eventName
- name of the analytics event that will get sent at the completion of the split tickercom.atlassian.util.profiling.Ticker startAt(String eventName, Duration at)
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 timeCopyright © 2003–2021 Atlassian. All rights reserved.