Class TimedAnalyticsImpl.TimedAnalyticsEvent
- java.lang.Object
-
- com.atlassian.confluence.impl.profiling.TimedAnalyticsImpl.TimedAnalyticsEvent
-
- Enclosing class:
- TimedAnalyticsImpl
@ParametersAreNonnullByDefault public static class TimedAnalyticsImpl.TimedAnalyticsEvent extends Object
-
-
Constructor Summary
Constructors Constructor Description TimedAnalyticsEvent(String name, Duration start, Duration end)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCorrelationId()
ID to correlate analytic events from the same JVM processlong
getDuration()
Operation durationlong
getEnd()
Operation end time, relative to application start timeString
getName()
Name of analytics eventlong
getStart()
Operation start time, relative to application start time
-
-
-
Method Detail
-
getCorrelationId
public String getCorrelationId()
ID to correlate analytic events from the same JVM process- Returns:
- correlation ID
-
getName
public String getName()
Name of analytics event- Returns:
- name of analytics event
-
getStart
public long getStart()
Operation start time, relative to application start time- Returns:
- milliseconds since application started
-
getEnd
public long getEnd()
Operation end time, relative to application start time- Returns:
- milliseconds since application started
-
getDuration
public long getDuration()
Operation duration- Returns:
- milliseconds between
getStart()
andgetEnd()
-
-