public class TimerDescriptorCodec extends AbstractMetricDescriptorCodec<TimerDescriptor>
TimerDescriptor
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, TYPE
log, mapper, NO_DECODING_SUP, root, roots
Constructor and Description |
---|
TimerDescriptorCodec() |
Modifier and Type | Method and Description |
---|---|
TimerDescriptor |
decode(com.fasterxml.jackson.databind.node.ObjectNode node)
Decodes the JSON into a typed POJO.
|
encode, getName, getType, setCommonMetricDescriptor
arrayNode, decode, decodeList, encode, encodeIterator, encodeIterator, encodeList, encodeList, fromEnums, isMissingContent, longVal, objectNode, read, root, roots, toEnums, write
public TimerDescriptor decode(com.fasterxml.jackson.databind.node.ObjectNode node)
JsonCodec
node
- JSON representation of the typed POJO. This does not have a
"top" rootCopyright © 2015. All Rights Reserved.