public interface Serializer
| Modifier and Type | Method and Description |
|---|---|
void |
appendCounter(DatadogCounter counter)
Append a counter to the time series
|
void |
appendGauge(DatadogGauge gauge)
Append a gauge to the time series
|
void |
endObject()
Mark ending of the datadog time series object
|
String |
getAsString()
Get datadog time series object serialized as a string
|
void |
startObject()
Write starting marker of the datadog time series object
|
void startObject()
throws IOException
IOExceptionvoid appendGauge(DatadogGauge gauge) throws IOException
IOExceptionvoid appendCounter(DatadogCounter counter) throws IOException
IOExceptionvoid endObject()
throws IOException
IOExceptionString getAsString() throws IOException
IOExceptionCopyright © 2018. All rights reserved.