Package one.microstream.cache
Class CacheEventDispatcher.Default<K,V>
java.lang.Object
one.microstream.cache.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.CacheEventDispatcher
CacheEventDispatcher.Default<K,V>
-
Constructor Summary
Constructors Constructor Description Default()
-
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)
-
Constructor Details
-
Default
public Default()
-
-
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>
-