public class YamlTimeWeightedDeltaEnricher<T extends java.lang.Number> extends AbstractTransformer<T,java.lang.Double>
For example, given a requests.count sensor, this can make a requests.per_sec sensor with DELTA_PERIOD
set to "1s" (the default).
Suitable for configuration from YAML.
AbstractEntityAdjunct.AdjunctTagSupport
BrooklynObject.TagSupport
Configurable.ConfigurationSupport
BrooklynObjectInternal.ConfigurationSupportInternal
Modifier and Type | Field and Description |
---|---|
static ConfigKey<Duration> |
DELTA_PERIOD |
PRODUCER, SOURCE_SENSOR, TARGET_SENSOR
SUPPRESS_DUPLICATES
NOOP
Constructor and Description |
---|
YamlTimeWeightedDeltaEnricher() |
onEvent, setEntity
getEnricherType, getRebindSupport
config, configure, destroy, getAllConfig, getConfig, getConfigMap, getDisplayName, getName, getUniqueTag, isDestroyed, isRunning, setConfig, setDisplayName, setName, tags, toString
getCatalogItemId, getId, getManagementContext, getTagSupport, init, rebind, setCatalogItemId, setManagementContext
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAllConfig, getConfig, getId, getName, setConfig
getUniqueTag, isDestroyed, isRunning
getCatalogItemId, getDisplayName, getTagSupport, tags
config
setCatalogItemId