public abstract class AbstractMultipleSensorAggregator<U> extends AbstractAggregator<java.lang.Object,U> implements SensorEventListener<java.lang.Object>
AbstractAggregator
for a single source sensor (on multiple children and/or members)AbstractEntityAdjunct.AdjunctTagSupport, AbstractEntityAdjunct.BasicSubscriptionSupport
BrooklynObject.RelationSupport<T extends BrooklynObject>, BrooklynObject.SubscriptionSupport, BrooklynObject.TagSupport
Configurable.ConfigurationSupport
BrooklynObjectInternal.ConfigurationSupportInternal, BrooklynObjectInternal.RelationSupportInternal<T extends BrooklynObject>, BrooklynObjectInternal.SubscriptionSupportInternal
DEFAULT_MEMBER_VALUE, ENTITY_FILTER, FROM_CHILDREN, FROM_HARDCODED_PRODUCERS, FROM_MEMBERS, PRODUCER, TARGET_SENSOR, VALUE_FILTER
SUPPRESS_DUPLICATES
NOOP
Constructor and Description |
---|
AbstractMultipleSensorAggregator() |
Modifier and Type | Method and Description |
---|---|
<T> java.util.Map<Entity,T> |
getValues(Sensor<T> sensor) |
void |
onEvent(SensorEvent<java.lang.Object> event)
The
SensorEvent handler method. |
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
public void onEvent(SensorEvent<java.lang.Object> event)
SensorEventListener
SensorEvent
handler method.onEvent
in interface SensorEventListener<java.lang.Object>