public interface IHostMetrics
| Modifier and Type | Method and Description |
|---|---|
String[] |
getMetricNames()
Return the names of all known metrics.
|
Number |
getNumeric(String name)
Return a numeric representation of the named metric.
|
<T extends Number> |
getNumeric(String name,
T defaultValue)
Return a numeric representation of the named metric.
|
Number getNumeric(String name)
name - The metric.null
if there is no such metric available.IllegalArgumentException - if the name is null.<T extends Number> T getNumeric(String name, T defaultValue)
name - The metric.defaultValue - The default value.defaultValue if there is no such metric available.IllegalArgumentException - if the name is null.IllegalArgumentException - if the defaultValue is null.String[] getMetricNames()
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.