protected Object compute(SensorEvent<T> event) { // transformation is not going to change, but this design makes it easier to support changing config in future. // if it's an efficiency hole we can switch to populate the transformation at start. U result = getTransformation().apply(event); if (LOG.isTraceEnabled()) LOG.trace("Enricher "+this+" computed "+result+" from "+event); return result; } }