Class MarshallerMetrics
- java.lang.Object
-
- com.atlassian.confluence.impl.content.render.xhtml.analytics.MarshallerMetrics
-
public class MarshallerMetrics extends Object
An immutable class representing collected metrics.- Since:
- 5.8
-
-
Constructor Summary
Constructors Constructor Description MarshallerMetrics(MarshallerMetricsAccumulationKey accumulationKey, int executionCount, long cumulativeExecutionTimeNanos, long cumulativeStreamingTimeNanos, Map<String,Long> customMetrics)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NonNull MarshallerMetricsAccumulationKey
getAccumulationKey()
long
getCumulativeExecutionTimeNanos()
long
getCumulativeStreamingTimeNanos()
@NonNull Map<String,Long>
getCustomMetrics()
int
getExecutionCount()
-
-
-
Constructor Detail
-
MarshallerMetrics
public MarshallerMetrics(MarshallerMetricsAccumulationKey accumulationKey, int executionCount, long cumulativeExecutionTimeNanos, long cumulativeStreamingTimeNanos, Map<String,Long> customMetrics)
-
-
Method Detail
-
getAccumulationKey
public @NonNull MarshallerMetricsAccumulationKey getAccumulationKey()
-
getExecutionCount
public int getExecutionCount()
-
getCumulativeExecutionTimeNanos
public long getCumulativeExecutionTimeNanos()
-
getCumulativeStreamingTimeNanos
public long getCumulativeStreamingTimeNanos()
-
-