public class TomcatPublicMetrics extends Object implements PublicMetrics, org.springframework.context.ApplicationContextAware
PublicMetrics
implementation that provides Tomcat statistics.Constructor and Description |
---|
TomcatPublicMetrics() |
Modifier and Type | Method and Description |
---|---|
Collection<Metric<?>> |
metrics()
Return an indication of current state through metrics.
|
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
public Collection<Metric<?>> metrics()
PublicMetrics
metrics
in interface PublicMetrics
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.