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, AbstractEntityAdjunct.BasicSubscriptionSupport
BrooklynObject.RelationSupport<T extends BrooklynObject>, BrooklynObject.SubscriptionSupport, BrooklynObject.TagSupport
Configurable.ConfigurationSupport
BrooklynObjectInternal.ConfigurationSupportInternal, BrooklynObjectInternal.RelationSupportInternal<T extends BrooklynObject>, BrooklynObjectInternal.SubscriptionSupportInternal
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, relations
config, configure, destroy, getAdjunctType, getConfig, getConfigMap, getDisplayName, getUniqueTag, isDestroyed, isRunning, setConfig, setDisplayName, subscribe, subscribeToChildren, subscribeToMembers, subscriptions, tags, toString, unsubscribe, unsubscribe
getCatalogItemId, getId, getManagementContext, init, rebind, setCatalogItemId, setManagementContext
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getUniqueTag, isDestroyed, isRunning
getCatalogItemId, getDisplayName, subscriptions, tags
config, getConfig, setConfig
setCatalogItemId