Class ConfluenceProfilerStrategy
- java.lang.Object
-
- com.atlassian.confluence.util.profiling.ConfluenceProfilerStrategy
-
- All Implemented Interfaces:
com.atlassian.util.profiling.strategy.ProfilerStrategy
public class ConfluenceProfilerStrategy extends Object implements com.atlassian.util.profiling.strategy.ProfilerStrategy
Confluence profiling strategy to be injected intoStrategiesRegistry
. It usesConfluenceMonitoring
for gathering of performance metrics. Later, this data is published to LaaS.- Since:
- 7.0
-
-
Constructor Summary
Constructors Constructor Description ConfluenceProfilerStrategy(DarkFeaturesManager featuresManager, ConfluenceMonitoring confluenceMonitoring)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onRequestEnd()
void
setConfiguration(@NonNull com.atlassian.util.profiling.ProfilerConfiguration configuration)
com.atlassian.util.profiling.Ticker
start(@NonNull String name)
-
-
-
Constructor Detail
-
ConfluenceProfilerStrategy
public ConfluenceProfilerStrategy(DarkFeaturesManager featuresManager, ConfluenceMonitoring confluenceMonitoring)
-
-
Method Detail
-
setConfiguration
public void setConfiguration(@NonNull com.atlassian.util.profiling.ProfilerConfiguration configuration)
- Specified by:
setConfiguration
in interfacecom.atlassian.util.profiling.strategy.ProfilerStrategy
-
onRequestEnd
public void onRequestEnd()
- Specified by:
onRequestEnd
in interfacecom.atlassian.util.profiling.strategy.ProfilerStrategy
-
start
public com.atlassian.util.profiling.Ticker start(@NonNull String name)
- Specified by:
start
in interfacecom.atlassian.util.profiling.strategy.ProfilerStrategy
-
-