public class SystemPublicMetrics extends Object implements PublicMetrics, Ordered
PublicMetrics
implementation that provides various system-related metrics.HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
Constructor and Description |
---|
SystemPublicMetrics() |
Modifier and Type | Method and Description |
---|---|
protected void |
addBasicMetrics(Collection<Metric<?>> result)
Add basic system metrics.
|
protected void |
addClassLoadingMetrics(Collection<Metric<?>> result)
Add class loading metrics.
|
protected void |
addGarbageCollectionMetrics(Collection<Metric<?>> result)
Add garbage collection metrics.
|
protected void |
addHeapMetrics(Collection<Metric<?>> result)
Add JVM heap metrics.
|
protected void |
addThreadMetrics(Collection<Metric<?>> result)
Add thread metrics.
|
int |
getOrder() |
Collection<Metric<?>> |
metrics() |
public Collection<Metric<?>> metrics()
metrics
in interface PublicMetrics
protected void addBasicMetrics(Collection<Metric<?>> result)
protected void addHeapMetrics(Collection<Metric<?>> result)
protected void addThreadMetrics(Collection<Metric<?>> result)
protected void addClassLoadingMetrics(Collection<Metric<?>> result)
protected void addGarbageCollectionMetrics(Collection<Metric<?>> result)
Copyright © 2014 Pivotal Software, Inc.. All rights reserved.