Interface TimedAnalytics

All Known Implementing Classes:
TimedAnalyticsImpl

@ParametersAreNonnullByDefault public interface TimedAnalytics
Since:
7.11
  • Method Summary

    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.
     
  • Method Details

    • 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 ticker
      at - when this operation started, relative to application start time
      Returns:
      the ticker