public class MetricsUtils extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
MetricsUtils.AGGREGATION_TYPE |
static class |
MetricsUtils.HEAT_MAP_TYPE |
static class |
MetricsUtils.METRIC_TYPE |
| Modifier and Type | Field and Description |
|---|---|
static long |
FIVE_MINUTES_MAX_RETAIN_TIME |
static long |
MILLISECONDS_2015 |
static long |
ONE_DAY_MAX_RETAIN_TIME |
static long |
ONE_HOUR_MAX_RETAIN_TIME |
static long |
ONE_MINUTE_MAX_RETAIN_TIME |
static long |
RAW_DATA_MAX_RETAIN_TIME |
static long |
SIX_HOURS_MAX_RETAIN_TIME |
static long |
TWELVE_HOURS_MAX_RETAIN_TIME |
| Constructor and Description |
|---|
MetricsUtils() |
| Modifier and Type | Method and Description |
|---|---|
static IMetricEngine |
engine() |
static MetricEngineConf |
getConf() |
static void |
loadEngine() |
static Pong |
ping(MetricEngineConf conf) |
static void |
shutdownEngine() |
static METRIC_ENGINE |
type() |
static void |
updateEngine(MetricEngineConf conf) |
public static final long RAW_DATA_MAX_RETAIN_TIME
public static final long ONE_MINUTE_MAX_RETAIN_TIME
public static final long FIVE_MINUTES_MAX_RETAIN_TIME
public static final long ONE_HOUR_MAX_RETAIN_TIME
public static final long SIX_HOURS_MAX_RETAIN_TIME
public static final long TWELVE_HOURS_MAX_RETAIN_TIME
public static final long ONE_DAY_MAX_RETAIN_TIME
public static final long MILLISECONDS_2015
public static IMetricEngine engine()
public static void loadEngine()
throws URISyntaxException
URISyntaxExceptionpublic static void shutdownEngine()
public static METRIC_ENGINE type()
public static MetricEngineConf getConf()
public static void updateEngine(MetricEngineConf conf) throws McBadRequestException
McBadRequestExceptionpublic static Pong ping(MetricEngineConf conf) throws McBadRequestException
McBadRequestExceptionCopyright © 2015–2019. All rights reserved.