public class RollingMeanEnricher<T extends java.lang.Number> extends AbstractTypeTransformingEnricher<T,java.lang.Double>
AbstractEntityAdjunct.AdjunctTagSupportBrooklynObject.TagSupportConfigurable.ConfigurationSupportBrooklynObjectInternal.ConfigurationSupportInternalSUPPRESS_DUPLICATESNOOP| Constructor and Description | 
|---|
RollingMeanEnricher()  | 
RollingMeanEnricher(Entity producer,
                   AttributeSensor<T> source,
                   AttributeSensor<java.lang.Double> target,
                   int windowSize)  | 
| Modifier and Type | Method and Description | 
|---|---|
java.lang.Double | 
getAverage()  | 
void | 
onEvent(SensorEvent<T> event)
The  
SensorEvent handler method. | 
setEntitygetEnricherType, getRebindSupportconfig, configure, destroy, getConfig, getConfigMap, getDisplayName, getUniqueTag, isDestroyed, isRunning, setConfig, setDisplayName, subscribe, subscribeToChildren, subscribeToMembers, tags, toString, unsubscribe, unsubscribegetCatalogItemId, getId, getManagementContext, init, rebind, setCatalogItemId, setManagementContextequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetConfig, getId, setConfiggetUniqueTag, isDestroyed, isRunninggetCatalogItemId, getDisplayName, tagsconfigsetCatalogItemIdpublic RollingMeanEnricher()
public RollingMeanEnricher(Entity producer, AttributeSensor<T> source, AttributeSensor<java.lang.Double> target, int windowSize)
public java.lang.Double getAverage()
public void onEvent(SensorEvent<T> event)
SensorEventListenerSensorEvent handler method.