public final class MetricType<T> extends Object
| Modifier and Type | Field and Description |
|---|---|
static MetricType<AvailabilityType> |
AVAILABILITY |
static MetricType<Long> |
COUNTER |
static MetricType<Double> |
COUNTER_RATE |
static MetricType<Double> |
GAUGE |
static MetricType<Double> |
GAUGE_RATE |
static MetricType<String> |
STRING |
static MetricType |
UNDEFINED |
| Modifier and Type | Method and Description |
|---|---|
static Set<MetricType<?>> |
all() |
static MetricType<?> |
fromCode(byte code) |
static MetricType<?> |
fromTextCode(String textCode) |
byte |
getCode() |
String |
getText() |
boolean |
isUserType() |
String |
toString() |
static Set<MetricType<?>> |
userTypes() |
public static final MetricType<Double> GAUGE
public static final MetricType<AvailabilityType> AVAILABILITY
public static final MetricType<Long> COUNTER
public static final MetricType<Double> COUNTER_RATE
public static final MetricType<String> STRING
public static final MetricType<Double> GAUGE_RATE
public static final MetricType UNDEFINED
public byte getCode()
public String getText()
public boolean isUserType()
public static MetricType<?> fromCode(byte code)
public static MetricType<?> fromTextCode(String textCode)
public static Set<MetricType<?>> all()
public static Set<MetricType<?>> userTypes()
Copyright © 2014–2018 Red Hat, Inc.. All rights reserved.