Class DefaultConfluenceMonitoringController
- java.lang.Object
-
- com.atlassian.confluence.util.profiling.DefaultConfluenceMonitoringController
-
- All Implemented Interfaces:
org.springframework.beans.factory.DisposableBean
,org.springframework.beans.factory.InitializingBean
@Internal public class DefaultConfluenceMonitoringController extends Object implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
Responsible for controlling the Confluence Monitoring. Currently this is whether it is enabled or disabled.- Since:
- 5.5.1
-
-
Field Summary
Fields Modifier and Type Field Description static String
DARK_FEATURE_SITE_KEY_FOR_DISABLE_MONITORING
The Dark Feature Site key for disabling monitoring.static String
DARK_FEATURE_SITE_KEY_FOR_ENABLE_CPU_TIMING
The Dark Feature Site key for enabling CPU timing.static String
DARK_FEATURE_SITE_KEY_FOR_ENABLE_HIBERNATE_MONITORING
The Dark Feature Site key for enabling hibernate monitoring.
-
Constructor Summary
Constructors Constructor Description DefaultConfluenceMonitoringController(ConfluenceMonitoringControl control, com.atlassian.event.api.EventListenerRegistrar eventListenerRegistrar, DarkFeaturesManager darkFeaturesMgr)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterPropertiesSet()
void
destroy()
void
onPluginFrameworkStartedEvent(PluginFrameworkStartedEvent event)
void
onRemoteEvent(ClusterEventWrapper wrapper)
void
onSiteDarkFeatureDisabledEvent(SiteDarkFeatureDisabledEvent event)
void
onSiteDarkFeatureEnabledEvent(SiteDarkFeatureEnabledEvent event)
-
-
-
Field Detail
-
DARK_FEATURE_SITE_KEY_FOR_DISABLE_MONITORING
public static final String DARK_FEATURE_SITE_KEY_FOR_DISABLE_MONITORING
The Dark Feature Site key for disabling monitoring.- See Also:
- Constant Field Values
-
DARK_FEATURE_SITE_KEY_FOR_ENABLE_CPU_TIMING
public static final String DARK_FEATURE_SITE_KEY_FOR_ENABLE_CPU_TIMING
The Dark Feature Site key for enabling CPU timing.- See Also:
- Constant Field Values
-
DARK_FEATURE_SITE_KEY_FOR_ENABLE_HIBERNATE_MONITORING
public static final String DARK_FEATURE_SITE_KEY_FOR_ENABLE_HIBERNATE_MONITORING
The Dark Feature Site key for enabling hibernate monitoring.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DefaultConfluenceMonitoringController
public DefaultConfluenceMonitoringController(ConfluenceMonitoringControl control, com.atlassian.event.api.EventListenerRegistrar eventListenerRegistrar, DarkFeaturesManager darkFeaturesMgr)
-
-
Method Detail
-
afterPropertiesSet
public void afterPropertiesSet() throws Exception
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
- Throws:
Exception
-
destroy
public void destroy() throws Exception
- Specified by:
destroy
in interfaceorg.springframework.beans.factory.DisposableBean
- Throws:
Exception
-
onPluginFrameworkStartedEvent
@EventListener public void onPluginFrameworkStartedEvent(PluginFrameworkStartedEvent event)
-
onSiteDarkFeatureEnabledEvent
@EventListener public void onSiteDarkFeatureEnabledEvent(SiteDarkFeatureEnabledEvent event)
-
onSiteDarkFeatureDisabledEvent
@EventListener public void onSiteDarkFeatureDisabledEvent(SiteDarkFeatureDisabledEvent event)
-
onRemoteEvent
@EventListener public void onRemoteEvent(ClusterEventWrapper wrapper)
-
-