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 Details

    • RestMetricsReporterProxy

      public RestMetricsReporterProxy()
  • Method Details

    • reportRestRequestExecutionTime

      public void reportRestRequestExecutionTime(long milliseconds, String queryTpe, String statementID)
      Specified by:
      reportRestRequestExecutionTime in interface RestMetricsReporter
    • isEnabled

      public boolean isEnabled()
      Specified by:
      isEnabled in interface MetricsReporter
      Specified by:
      isEnabled in interface RestMetricsReporter
    • isRestServicePathMetricsEnabled

      public boolean isRestServicePathMetricsEnabled()
      Specified by:
      isRestServicePathMetricsEnabled in interface RestMetricsReporter
    • afterPropertiesSet

      public void afterPropertiesSet() throws Exception
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
      Throws:
      Exception
    • setApplicationContext

      public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
      Specified by:
      setApplicationContext in interface org.springframework.context.ApplicationContextAware
      Throws:
      org.springframework.beans.BeansException