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, 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.lang.String> |
QUORUM_CHECK_TYPE |
static ConfigKey<java.lang.Integer> |
QUORUM_TOTAL_SIZE |
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, EXCLUDE_BLANK, 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
SensorEvent handler method. |
setEntitygetEnricherType, getRebindSupport, relationsconfig, configure, destroy, getAdjunctType, getConfig, getDisplayName, getEntity, 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 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.String> QUORUM_CHECK_TYPE
QuorumCheck.QuorumCheckspublic static final ConfigKey<java.lang.Integer> QUORUM_TOTAL_SIZE
public void onEvent(SensorEvent<T> event)
SensorEventListenerSensorEvent handler method.onEvent in interface SensorEventListener<T>