private void cacheEntryInserted ( String key , T value ) { InfinispanCacheEntryEvent < T > event = new InfinispanCacheEntryEvent <> ( new InfinispanCacheEntry < T > ( this , key , value ) ) ; T previousValue = this . preEventData . get ( key ) ; if ( previousValue != null ) { if ( previousValue != value ) { disposeCacheValue ( previousValue ) ; } sendEntryModifiedEvent ( event ) ; } else { sendEntryAddedEvent ( event ) ; } }
Dispatch data insertion event .