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)
result
- the resultprotected void addHeapMetrics(Collection<Metric<?>> result)
result
- the resultprotected void addThreadMetrics(Collection<Metric<?>> result)
result
- the resultprotected void addClassLoadingMetrics(Collection<Metric<?>> result)
result
- the resultprotected void addGarbageCollectionMetrics(Collection<Metric<?>> result)
result
- the resultCopyright © 2015 Pivotal Software, Inc.. All rights reserved.