The Deserializers that JsonTunableMapper uses by default, in addition to Scala data type deserializers afforded by com.fasterxml.jackson.module.scala.DefaultScalaModule.
The Deserializers that JsonTunableMapper uses by default, in addition to Scala data type deserializers afforded by com.fasterxml.jackson.module.scala.DefaultScalaModule.
These deserializers are:
- com.twitter.util.tunable.json.DurationFromString - com.twitter.util.tunable.json.StorageUnitFromString
Create a new JsonTunableMapper, using the default deserializers, DefaultDeserializers
Create a new JsonTunableMapper, using the provided deserializers deserializers
.
Construct String paths for JSON files starting with root
using environmentOpt and instanceOpt
in priority order.
Construct String paths for JSON files starting with root
using environmentOpt and instanceOpt
in priority order. Where environementOpt and instanceOpt are available (env, instance),
paths are ordered:
i. $root/$env/instance-$id.json i. $root/$env/instances.json i. $root/instance-$id.json i. $root/instances.json