public class CustomMetric extends Iced<CustomMetric>
Modifier and Type | Field and Description |
---|---|
static CustomMetric |
EMPTY |
java.lang.String |
name |
double |
value |
Constructor and Description |
---|
CustomMetric(java.lang.String name,
double value) |
Modifier and Type | Method and Description |
---|---|
static CustomMetric |
from(java.lang.String name,
double value) |
boolean |
isValid() |
asBytes, clone, copyOver, frozenType, read, readExternal, readJSON, reloadFromBytes, toJsonString, write, writeExternal, writeJSON
public static final CustomMetric EMPTY
public final java.lang.String name
public final double value
public static CustomMetric from(java.lang.String name, double value)
public boolean isValid()