public class Reducer extends AbstractEnricher implements SensorEventListener<java.lang.Object>
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<java.util.Map<java.lang.String,java.lang.Object>> | PARAMETERS | 
| static ConfigKey<Entity> | PRODUCER | 
| static ConfigKey< | 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_DUPLICATESNOOP| Constructor and Description | 
|---|
| Reducer() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | onEvent(SensorEvent<java.lang.Object> event)The  SensorEventhandler method. | 
| void | setEntity(EntityLocal entity) | 
getEnricherType, getRebindSupport, relationsconfig, configure, destroy, getAdjunctType, getConfig, getConfigMap, getDisplayName, getUniqueTag, isDestroyed, isRunning, setConfig, setDisplayName, subscribe, subscribeToChildren, subscribeToMembers, subscriptions, tags, toString, unsubscribe, unsubscribegetCatalogItemId, getId, getManagementContext, init, rebind, setCatalogItemId, setManagementContextequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetUniqueTag, isDestroyed, isRunninggetCatalogItemId, getDisplayName, subscriptions, tagsconfig, getConfig, setConfigsetCatalogItemIdpublic static ConfigKey<java.util.List<? extends AttributeSensor<?>>> SOURCE_SENSORS
public static ConfigKey<> 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 AbstractEnricherpublic void onEvent(SensorEvent<java.lang.Object> event)
SensorEventListenerSensorEvent handler method.onEvent in interface SensorEventListener<java.lang.Object>