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)
void
dispatch(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:
addEvent
in interfaceCacheEventDispatcher<K,V>
-
dispatch
- Specified by:
dispatch
in interfaceCacheEventDispatcher<K,V>
-