public class VanillaPublicMetrics extends Object implements PublicMetrics
PublicMetrics
that exposes all metrics from a
MetricReader
along with memory information.Constructor and Description |
---|
VanillaPublicMetrics(MetricReader reader) |
Modifier and Type | Method and Description |
---|---|
protected void |
addClassLoadingMetrics(Collection<Metric<?>> result)
Add class loading metrics.
|
protected void |
addGarbageCollecitonMetrics(Collection<Metric<?>> result)
Add garbage collection metrics.
|
protected void |
addHeapMetrics(Collection<Metric<?>> result)
Add JVM heap metrics.
|
protected void |
addMetrics(Collection<Metric<?>> result)
Add basic system metrics.
|
protected void |
addThreadMetrics(Collection<Metric<?>> result)
Add thread metrics.
|
Collection<Metric<?>> |
metrics() |
public VanillaPublicMetrics(MetricReader reader)
public Collection<Metric<?>> metrics()
metrics
in interface PublicMetrics
protected void addMetrics(Collection<Metric<?>> result)
protected void addHeapMetrics(Collection<Metric<?>> result)
protected void addThreadMetrics(Collection<Metric<?>> result)
protected void addClassLoadingMetrics(Collection<Metric<?>> result)
protected void addGarbageCollecitonMetrics(Collection<Metric<?>> result)
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.