| Package | Description |
|---|---|
| org.opennms.newts.api |
| Modifier and Type | Method and Description |
|---|---|
static MetricType |
MetricType.fromCode(byte code) |
MetricType |
Absolute.getType() |
MetricType |
Counter.getType() |
abstract MetricType |
ValueType.getType() |
MetricType |
Derive.getType() |
MetricType |
Sample.getType() |
MetricType |
Gauge.getType() |
static MetricType |
MetricType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MetricType[] |
MetricType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static ValueType<?> |
ValueType.compose(Number number,
MetricType type) |
| Constructor and Description |
|---|
Sample(Timestamp timestamp,
Context context,
Resource resource,
String name,
MetricType type,
ValueType<?> value) |
Sample(Timestamp timestamp,
Context context,
Resource resource,
String name,
MetricType type,
ValueType<?> value,
Map<String,String> attributes) |
Sample(Timestamp timestamp,
Resource resource,
String name,
MetricType type,
ValueType<?> value) |
Sample(Timestamp timestamp,
Resource resource,
String name,
MetricType type,
ValueType<?> value,
Map<String,String> attributes) |
Copyright © 2021. All rights reserved.