public class GraphiteMetric extends Object
Constructor and Description |
---|
GraphiteMetric(String path,
String value,
long timestamp) |
Modifier and Type | Method and Description |
---|---|
Double |
doubleValue()
The value, as a double-precision number.
|
boolean |
equals(Object obj) |
Float |
floatValue()
The value, as a floating-point number.
|
java.time.Instant |
getInstant()
The timestamp as an Instant.
|
String |
getPath()
The graphite path, an arbitrary key.
|
long |
getTimestamp()
The timestamp as a UNIX epoch.
|
String |
getValue()
The raw value.
|
int |
hashCode() |
Integer |
intValue()
The value, as an Integer number.
|
Long |
longValue()
The value, as a Long number.
|
String |
toString() |
public String getPath()
public String getValue()
public Integer intValue()
public Long longValue()
public Float floatValue()
public Double doubleValue()
public long getTimestamp()
public java.time.Instant getInstant()
Copyright © 2021. All rights reserved.