@Internal @ParametersAreNonnullByDefault public class TimedAnalyticsImpl extends Object implements TimedAnalytics
Modifier and Type | Class and Description |
---|---|
static class |
TimedAnalyticsImpl.TimedAnalyticsEvent |
Constructor and Description |
---|
TimedAnalyticsImpl(Consumer<TimedAnalyticsImpl.TimedAnalyticsEvent> consumer) |
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
timedAnalytics
public TimedAnalyticsImpl(Consumer<TimedAnalyticsImpl.TimedAnalyticsEvent> consumer)
public com.atlassian.util.profiling.Ticker start(String eventName)
TimedAnalytics
start
in interface TimedAnalytics
eventName
- name of the analytics event that will get sent at the completion of the split tickerpublic com.atlassian.util.profiling.Ticker startAt(String eventName, Duration at)
TimedAnalytics
startAt
in interface TimedAnalytics
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–2023 Atlassian. All rights reserved.
View cookie preferences