public abstract class AbstractHostMetrics extends Object implements IHostMetrics
Constructor and Description |
---|
AbstractHostMetrics() |
Modifier and Type | Method and Description |
---|---|
<T extends Number> |
getNumeric(String name,
T defaultValue)
Return a numeric representation of the named metric.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMetricNames, getNumeric
public <T extends Number> T getNumeric(String name, T defaultValue)
IHostMetrics
getNumeric
in interface IHostMetrics
name
- The metric.defaultValue
- The default value.defaultValue
if there is no such metric available.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.