return;
}
// We slice the event if required i.e. if slice information is available, we will only
// forward the event if any of the attributes in the slice have changed or been created
DMPEvent forwardedEvent = null;
if (sliceInfo == null)
forwardedEvent = event.clone();
else
forwardedEvent = event.getSlice(sliceInfo);
if (forwardedEvent == null){
if (event.isTrackingEnabled())
LoggerFactory.getLogger(getClass()).debug("Dropping event due to slicing: " + event.toOIF());
return;
}
// All events are tagged with the unique listener associated with this cache listener.
forwardedEvent.setListenerID(listenerId);
eventHandler.handleEvent(forwardedEvent);
}