@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, waittimedAnalyticspublic TimedAnalyticsImpl(Consumer<TimedAnalyticsImpl.TimedAnalyticsEvent> consumer)
public com.atlassian.util.profiling.Ticker start(String eventName)
TimedAnalyticsstart in interface TimedAnalyticseventName - 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)
TimedAnalyticsstartAt in interface TimedAnalyticseventName - 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.