public abstract class WarningRule extends Object
| Constructor and Description |
|---|
WarningRule() |
| Modifier and Type | Method and Description |
|---|---|
abstract Warning |
checkWarning(Map<String,Number> lastMetrics) |
static WarningRule |
memoryUtilizationRule(double threshold) |
static WarningRule |
thresholdRule(String metric,
double threshold) |
static WarningRule |
thresholdRule(String metric,
double threshold,
String msg) |
public static WarningRule memoryUtilizationRule(double threshold)
public static WarningRule thresholdRule(String metric, double threshold)
public static WarningRule thresholdRule(String metric, double threshold, String msg)
Copyright © 2017. All rights reserved.