Class TimedAnalyticsImpl

java.lang.Object
com.atlassian.confluence.impl.profiling.TimedAnalyticsImpl
All Implemented Interfaces:
TimedAnalytics

@Internal @ParametersAreNonnullByDefault public class TimedAnalyticsImpl extends Object implements TimedAnalytics
Since:
7.11
  • Constructor Details

  • Method Details

    • start

      public com.atlassian.util.profiling.Ticker start(String eventName)
      Description copied from interface: TimedAnalytics
      Start a ticker that will send an analytic event at its completion. The event will be sent after the Analytics plugin is ready.
      Specified by:
      start in interface TimedAnalytics
      Parameters:
      eventName - name of the analytics event that will get sent at the completion of the split ticker
      Returns:
      the ticker
    • startAt

      public com.atlassian.util.profiling.Ticker startAt(String eventName, Duration at)
      Description copied from interface: TimedAnalytics
      Start a ticker that will send an analytic event at its completion. The event will be sent after the Analytics plugin is ready.
      Specified by:
      startAt in interface TimedAnalytics
      Parameters:
      eventName - name of the analytics event that will get sent at the completion of the split ticker
      at - when this operation started, relative to application start time
      Returns:
      the ticker