Class AdminServerMetricsImpl
- java.lang.Object
-
- org.onebusaway.aws.monitoring.impl.metrics.MetricsTemplate
-
- org.onebusaway.aws.monitoring.impl.metrics.AdminServerMetricsImpl
-
- All Implemented Interfaces:
EventListener,AdminServerMetrics,org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
@Component public class AdminServerMetricsImpl extends MetricsTemplate implements AdminServerMetrics, org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
-
-
Field Summary
Fields Modifier and Type Field Description protected static org.slf4j.Logger_log-
Fields inherited from class org.onebusaway.aws.monitoring.impl.metrics.MetricsTemplate
CONNECTION_TIMEOUT
-
-
Constructor Summary
Constructors Constructor Description AdminServerMetricsImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event)voidpublishBundleCountMetrics()voidreloadConfig()-
Methods inherited from class org.onebusaway.aws.monitoring.impl.metrics.MetricsTemplate
getJsonObject, getMetricDatum, getUrlResponse, getUrlWithResponseTime, publishMetric, publishWatchdogMetric
-
-
-
-
Method Detail
-
reloadConfig
public void reloadConfig()
-
publishBundleCountMetrics
public void publishBundleCountMetrics()
- Specified by:
publishBundleCountMetricsin interfaceAdminServerMetrics
-
onApplicationEvent
public void onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event)
- Specified by:
onApplicationEventin interfaceorg.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
-
-