public class Aggregator<T,U> extends AbstractAggregator<T,U> implements SensorEventListener<T>
AbstractAggregator for a single source sensor (on multiple children and/or members)BrooklynObject.TagSupport| Modifier and Type | Field and Description | 
|---|---|
| static ConfigKey<Sensor<?>> | SOURCE_SENSOR | 
| static ConfigKey<com.google.common.base.Function<? super java.util.Collection<?>,?>> | TRANSFORMATION | 
DEFAULT_MEMBER_VALUE, ENTITY_FILTER, FROM_CHILDREN, FROM_HARDCODED_PRODUCERS, FROM_MEMBERS, PRODUCER, TARGET_SENSOR, VALUE_FILTERSUPPRESS_DUPLICATESNOOP| Constructor and Description | 
|---|
| Aggregator() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | onEvent(SensorEvent<T> event)The  SensorEventhandler method. | 
setEntitygetEnricherType, getRebindSupportconfigure, destroy, getAllConfig, getConfig, getConfigMap, getDisplayName, getName, getUniqueTag, isDestroyed, isRunning, setConfig, setDisplayName, setName, tags, toStringgetCatalogItemId, getId, getManagementContext, getTagSupport, init, rebind, setCatalogItemId, setManagementContextequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAllConfig, getConfig, getId, getName, setConfiggetUniqueTag, isDestroyed, isRunninggetCatalogItemId, getDisplayName, getTagSupport, tagssetCatalogItemIdpublic static final ConfigKey<com.google.common.base.Function<? super java.util.Collection<?>,?>> TRANSFORMATION
public void onEvent(SensorEvent<T> event)
SensorEventListenerSensorEvent handler method.onEvent in interface SensorEventListener<T>