Class CoherenceCacheEventEventDispatcher<K,​V>

  • Type Parameters:
    K - the type of keys
    V - the type of values

    public class CoherenceCacheEventEventDispatcher<K,​V>
    extends Object
    Collects and appropriately dispatches CacheEntryEvents to CacheEntryListeners.
    Since:
    Coherence 12.1.3
    Author:
    jf 2013.10.24
    • Method Detail

      • addEvent

        public void addEvent​(Class<? extends javax.cache.event.CacheEntryListener> listenerClass,
                             javax.cache.event.CacheEntryEvent<K,​V> event)
        Requests that the specified event be prepared for dispatching to the specified type of listeners.
        Parameters:
        listenerClass - the class of CacheEntryListener that should receive the event
        event - the event to be dispatched