public class RestMetricsReporterProxy extends Object implements RestMetricsReporter, org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.InitializingBean
| Constructor and Description |
|---|
RestMetricsReporterProxy() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
boolean |
isEnabled() |
boolean |
isRestServicePathMetricsEnabled() |
void |
reportRestRequestExecutionTime(long milliseconds,
String queryTpe,
String statementID) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
public void reportRestRequestExecutionTime(long milliseconds,
String queryTpe,
String statementID)
reportRestRequestExecutionTime in interface RestMetricsReporterpublic boolean isEnabled()
isEnabled in interface MetricsReporterisEnabled in interface RestMetricsReporterpublic boolean isRestServicePathMetricsEnabled()
isRestServicePathMetricsEnabled in interface RestMetricsReporterpublic void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionpublic void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionCopyright © 2005–2018 Alfresco Software. All rights reserved.