public class TimeFractionDeltaEnricher<T extends java.lang.Number> extends AbstractTypeTransformingEnricher<T,java.lang.Double>
BrooklynObject.TagSupport
SUPPRESS_DUPLICATES
NOOP
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) |
setEntity
getEnricherType, getRebindSupport
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
setCatalogItemId
public TimeFractionDeltaEnricher()
public TimeFractionDeltaEnricher(Entity producer, Sensor<T> source, Sensor<java.lang.Double> target, java.util.concurrent.TimeUnit origUnits)
public void onEvent(SensorEvent<T> event)
SensorEventListener
SensorEvent
handler method.public void onEvent(SensorEvent<T> event, long eventTimestamp)