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 java.lang.Object implements RestMetricsReporter, org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.InitializingBean
-
-
Constructor Summary
Constructors Constructor Description RestMetricsReporterProxy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPropertiesSet()booleanisEnabled()booleanisRestServicePathMetricsEnabled()voidreportRestRequestExecutionTime(long milliseconds, java.lang.String queryTpe, java.lang.String statementID)voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext)
-
-
-
Method Detail
-
reportRestRequestExecutionTime
public void reportRestRequestExecutionTime(long milliseconds, java.lang.String queryTpe, java.lang.String statementID)- 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
public void afterPropertiesSet() throws java.lang.Exception- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
java.lang.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
-
-