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.BasicSubscriptionSupportBrooklynObject.RelationSupport<T extends BrooklynObject>, BrooklynObject.SubscriptionSupport, BrooklynObject.TagSupportConfigurable.ConfigurationSupportBrooklynObjectInternal.ConfigurationSupportInternal, BrooklynObjectInternal.RelationSupportInternal<T extends BrooklynObject>, BrooklynObjectInternal.SubscriptionSupportInternal| Modifier and Type | Field and Description |
|---|---|
static ConfigKey<Duration> |
DELTA_PERIOD |
ALLOW_CYCLIC_PUBLISHING, PRODUCER, SOURCE_SENSOR, TARGET_SENSOR, TRIGGER_SENSORSSUPPRESS_DUPLICATESHIGHLIGHT_NAME_LAST_ACTION, HIGHLIGHT_NAME_LAST_CONFIRMATION, HIGHLIGHT_NAME_LAST_VIOLATION, HIGHLIGHT_NAME_TRIGGERSNOOP| Constructor and Description |
|---|
YamlTimeWeightedDeltaEnricher() |
| Modifier and Type | Method and Description |
|---|---|
void |
setEntity(EntityLocal entity) |
onEventgetEnricherType, getRebindSupport, relationsconfig, configure, destroy, getAdjunctType, getConfig, getDisplayName, getEntity, getExecutionContext, getHighlights, getManagementContext, getUniqueTag, isDestroyed, isRunning, setDisplayName, setHighlights, subscriptions, tags, toStringaddSearchPath, getCatalogItemId, getCatalogItemIdSearchPath, getId, init, rebind, setCatalogItemId, setCatalogItemIdAndSearchPath, setManagementContext, stackCatalogItemIdequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetHighlights, getUniqueTag, isDestroyed, isRunninggetCatalogItemId, getCatalogItemIdSearchPath, getDisplayName, subscriptions, tagsconfig, getConfigaddSearchPath, setCatalogItemId, setCatalogItemIdAndSearchPath, stackCatalogItemIdpublic void setEntity(EntityLocal entity)
setEntity in class AbstractTransformer<T extends java.lang.Number,java.lang.Double>