public class Reducer extends AbstractEnricher implements SensorEventListener<java.lang.Object>
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<java.util.Map<java.lang.String,java.lang.Object>> |
PARAMETERS |
static ConfigKey<Entity> |
PRODUCER |
static ConfigKey<<any>> |
REDUCER_FUNCTION |
static ConfigKey<java.lang.String> |
REDUCER_FUNCTION_TRANSFORMATION |
static ConfigKey<java.util.List<? extends AttributeSensor<?>>> |
SOURCE_SENSORS |
static ConfigKey<Sensor<?>> |
TARGET_SENSOR |
SUPPRESS_DUPLICATES
HIGHLIGHT_NAME_LAST_ACTION, HIGHLIGHT_NAME_LAST_CONFIRMATION, HIGHLIGHT_NAME_LAST_VIOLATION, HIGHLIGHT_NAME_TRIGGERS
NOOP
Constructor and Description |
---|
Reducer() |
Modifier and Type | Method and Description |
---|---|
void |
onEvent(SensorEvent<java.lang.Object> event)
The
SensorEvent handler method. |
void |
setEntity(EntityLocal entity) |
getEnricherType, getRebindSupport, relations
config, configure, destroy, getAdjunctType, getConfig, getDisplayName, getEntity, getExecutionContext, getHighlights, getManagementContext, getUniqueTag, isDestroyed, isRunning, setDisplayName, setHighlights, subscriptions, tags, toString
addSearchPath, getCatalogItemId, getCatalogItemIdSearchPath, getId, init, rebind, setCatalogItemId, setCatalogItemIdAndSearchPath, setManagementContext, stackCatalogItemId
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getHighlights, getUniqueTag, isDestroyed, isRunning
getCatalogItemId, getCatalogItemIdSearchPath, getDisplayName, subscriptions, tags
config, getConfig
addSearchPath, setCatalogItemId, setCatalogItemIdAndSearchPath, stackCatalogItemId
public static final ConfigKey<java.util.List<? extends AttributeSensor<?>>> SOURCE_SENSORS
public static final ConfigKey<<any>> REDUCER_FUNCTION
public static final ConfigKey<java.lang.String> REDUCER_FUNCTION_TRANSFORMATION
public static final ConfigKey<java.util.Map<java.lang.String,java.lang.Object>> PARAMETERS
public void setEntity(EntityLocal entity)
setEntity
in class AbstractEnricher
public void onEvent(SensorEvent<java.lang.Object> event)
SensorEventListener
SensorEvent
handler method.onEvent
in interface SensorEventListener<java.lang.Object>