public class LoadOneHostScoringRule extends Object implements IHostScoringRule
IHostScoringRule uses load_one to score and rank
the hosts. The lode_one metric is available on Linux and FreeBSD
platforms.| Constructor and Description |
|---|
LoadOneHostScoringRule() |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getMetricNames()
Return the set of metric names that are used by this scoring rule.
|
double |
getScore(IHostMetrics metrics)
Return a score for the given
IHostMetrics. |
public String[] getMetricNames()
IHostScoringRulegetMetricNames in interface IHostScoringRulepublic double getScore(IHostMetrics metrics)
IHostScoringRuleIHostMetrics.getScore in interface IHostScoringRulemetrics - The IHostMetrics.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.