notifier.notifyCacheEntryModified(key, value, entryValue, e.getMetadata(), true, ctx, this);
}
if (value instanceof Delta) {
// magic
Delta dv = (Delta) value;
DeltaAware toMergeWith = null;
if (entryValue instanceof CopyableDeltaAware) {
toMergeWith = ((CopyableDeltaAware) entryValue).copy();
} else if (entryValue instanceof DeltaAware) {
toMergeWith = (DeltaAware) entryValue;
}
e.setValue(dv.merge(toMergeWith));
o = entryValue;
} else {
o = e.setValue(value);
if (e.isRemoved()) {
e.setRemoved(false);