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()
IHostScoringRule
getMetricNames
in interface IHostScoringRule
public double getScore(IHostMetrics metrics)
IHostScoringRule
IHostMetrics
.getScore
in interface IHostScoringRule
metrics
- The IHostMetrics
.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.