public class TimeFractionDeltaEnricher<T extends java.lang.Number> extends AbstractTypeTransformingEnricher<T,java.lang.Double>
AbstractEntityAdjunct.AdjunctTagSupportBrooklynObject.TagSupportConfigurable.ConfigurationSupportBrooklynObjectInternal.ConfigurationSupportInternalSUPPRESS_DUPLICATESNOOP| Constructor and Description |
|---|
TimeFractionDeltaEnricher() |
TimeFractionDeltaEnricher(Entity producer,
Sensor<T> source,
Sensor<java.lang.Double> target,
long nanosPerOrigUnit) |
TimeFractionDeltaEnricher(Entity producer,
Sensor<T> source,
Sensor<java.lang.Double> target,
java.util.concurrent.TimeUnit origUnits) |
| Modifier and Type | Method and Description |
|---|---|
void |
onEvent(SensorEvent<T> event)
The
SensorEvent handler method. |
void |
onEvent(SensorEvent<T> event,
long eventTimestamp) |
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 TimeFractionDeltaEnricher()
public TimeFractionDeltaEnricher(Entity producer, Sensor<T> source, Sensor<java.lang.Double> target, java.util.concurrent.TimeUnit origUnits)
public void onEvent(SensorEvent<T> event)
SensorEventListenerSensorEvent handler method.public void onEvent(SensorEvent<T> event, long eventTimestamp)