Package org.alfresco.metrics.rest
Class RestMetricsReporterProxy
java.lang.Object
org.alfresco.metrics.rest.RestMetricsReporterProxy
- All Implemented Interfaces:
MetricsReporter,RestMetricsReporter,org.springframework.beans.factory.Aware,org.springframework.beans.factory.InitializingBean,org.springframework.context.ApplicationContextAware
public class RestMetricsReporterProxy
extends Object
implements RestMetricsReporter, org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.InitializingBean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanbooleanvoidreportRestRequestExecutionTime(long milliseconds, String queryTpe, String statementID) voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext)
-
Constructor Details
-
RestMetricsReporterProxy
public RestMetricsReporterProxy()
-
-
Method Details
-
reportRestRequestExecutionTime
- Specified by:
reportRestRequestExecutionTimein interfaceRestMetricsReporter
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabledin interfaceMetricsReporter- Specified by:
isEnabledin interfaceRestMetricsReporter
-
isRestServicePathMetricsEnabled
public boolean isRestServicePathMetricsEnabled()- Specified by:
isRestServicePathMetricsEnabledin interfaceRestMetricsReporter
-
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException - Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware- Throws:
org.springframework.beans.BeansException
-