public class Aggregator<T,U> extends AbstractAggregator<T,U> implements SensorEventListener<T>
AbstractAggregator
for a single source sensor (on multiple children and/or members)AbstractEntityAdjunct.AdjunctTagSupport
BrooklynObject.TagSupport
Configurable.ConfigurationSupport
BrooklynObjectInternal.ConfigurationSupportInternal
Modifier and Type | Field and Description |
---|---|
static ConfigKey<java.lang.Boolean> |
EXCLUDE_BLANK |
static ConfigKey<Sensor<?>> |
SOURCE_SENSOR |
static ConfigKey<com.google.common.base.Function<? super java.util.Collection<?>,?>> |
TRANSFORMATION |
static ConfigKey<java.lang.Object> |
TRANSFORMATION_UNTYPED |
DEFAULT_MEMBER_VALUE, ENTITY_FILTER, FROM_CHILDREN, FROM_HARDCODED_PRODUCERS, FROM_MEMBERS, PRODUCER, TARGET_SENSOR, VALUE_FILTER
SUPPRESS_DUPLICATES
NOOP
Constructor and Description |
---|
Aggregator() |
Modifier and Type | Method and Description |
---|---|
void |
onEvent(SensorEvent<T> event)
The
SensorEvent handler method. |
setEntity
getEnricherType, getRebindSupport
config, configure, destroy, getAllConfig, getConfig, getConfigMap, getDisplayName, getName, getUniqueTag, isDestroyed, isRunning, setConfig, setDisplayName, setName, tags, toString
getCatalogItemId, getId, getManagementContext, getTagSupport, init, rebind, setCatalogItemId, setManagementContext
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAllConfig, getConfig, getId, getName, setConfig
getUniqueTag, isDestroyed, isRunning
getCatalogItemId, getDisplayName, getTagSupport, tags
config
setCatalogItemId
public static final ConfigKey<java.lang.Object> TRANSFORMATION_UNTYPED
public static final ConfigKey<com.google.common.base.Function<? super java.util.Collection<?>,?>> TRANSFORMATION
public static final ConfigKey<java.lang.Boolean> EXCLUDE_BLANK
public void onEvent(SensorEvent<T> event)
SensorEventListener
SensorEvent
handler method.onEvent
in interface SensorEventListener<T>