public class GaugeDescriptorCodec extends AbstractMetricDescriptorCodec<GaugeDescriptor>
GaugeDescriptor objects.APP_ID, DESC, DESCRIPTION, ERROR, FAIL_COUNT, FAIL_NODE, JMX, NAME, PERSISTENCE, PRIMARY_TAG, PRIMING_VALUE, ROOT, ROOTS, SECONDARY_TAG, STATUS, SUCCESS_COUNT, SUCCESS_NODE, SUMMARY_INTERVAL, TYPElog, mapper, NO_DECODING_SUP, root, roots| Constructor and Description |
|---|
GaugeDescriptorCodec() |
| Modifier and Type | Method and Description |
|---|---|
GaugeDescriptor |
decode(com.fasterxml.jackson.databind.node.ObjectNode node)
Decodes the JSON into a typed POJO.
|
encode, getName, getType, setCommonMetricDescriptorarrayNode, decode, decodeList, encode, encodeList, encodeList, fromEnums, isMissingContent, longVal, objectNode, read, root, roots, toEnums, writepublic GaugeDescriptor decode(com.fasterxml.jackson.databind.node.ObjectNode node)
JsonCodecnode - JSON representation of the typed POJO. This does not have a
"top" rootCopyright © 2014. All Rights Reserved.