code: private void configureEvent(CacheEntryListenerInvocation listenerInvocation,
                                 EventImpl<K, V> e, K key, V value, boolean pre, InvocationContext ctx) {
        e.setPre(pre);
        e.setKey(convertKey(listenerInvocation, key));
        e.setValue(convertValue(listenerInvocation, value));
        e.setOriginLocal(ctx.isOriginLocal());
        setTx(ctx, e);
     }
docs: Configure event data. Currently used for 'activated', 'loaded', 'visited' events.