Package one.microstream.cache.types
Class CacheEventDispatcher.Default<K,V>
java.lang.Object
one.microstream.cache.types.CacheEventDispatcher.Default<K,V>
- All Implemented Interfaces:
CacheEventDispatcher<K,V>
- Enclosing interface:
- CacheEventDispatcher<K,V>
public static class CacheEventDispatcher.Default<K,V> extends Object implements CacheEventDispatcher<K,V>
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.cache.types.CacheEventDispatcher
CacheEventDispatcher.Default<K,V> -
Method Summary
Modifier and Type Method Description CacheEventDispatcher<K,V>addEvent(Class<? extends javax.cache.event.CacheEntryListener> listenerClass, CacheEvent<K,V> event)voiddispatch(XIterable<CacheEntryListenerRegistration<K,V>> registrations)
-
Method Details
-
addEvent
public CacheEventDispatcher<K,V> addEvent(Class<? extends javax.cache.event.CacheEntryListener> listenerClass, CacheEvent<K,V> event)- Specified by:
addEventin interfaceCacheEventDispatcher<K,V>
-
dispatch
- Specified by:
dispatchin interfaceCacheEventDispatcher<K,V>
-