Class MarshallerMetricsCollectors
- java.lang.Object
-
- com.atlassian.confluence.impl.content.render.xhtml.analytics.MarshallerMetricsCollectors
-
public class MarshallerMetricsCollectors extends Object
A utility class for obtainingMarshallerMetricsCollector
instances for the current context.- Since:
- 5.8
-
-
Constructor Summary
Constructors Constructor Description MarshallerMetricsCollectors()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static @NonNull MarshallerMetricsCollector
metricsCollector(ConversionContext context, MarshallerMetricsAccumulationKey accumulationKey)
Obtain aMarshallerMetricsCollector
instance for the given accumulation key and context
-
-
-
Method Detail
-
metricsCollector
public static @NonNull MarshallerMetricsCollector metricsCollector(ConversionContext context, MarshallerMetricsAccumulationKey accumulationKey)
Obtain aMarshallerMetricsCollector
instance for the given accumulation key and context- Parameters:
context
- The current contextaccumulationKey
- The key against which the metrics will be accumulated- Returns:
- a collector against which metrics can be recorded for the given key
-
-