| Modifier and Type | Method and Description |
|---|---|
<K,V> CacheEventDispatcher<K,V> |
createCacheEventDispatcher(Store<K,V> store,
ServiceConfiguration<?,?>... serviceConfigs)
|
<K,V> void |
releaseCacheEventDispatcher(CacheEventDispatcher<K,V> eventDispatcher)
Releases an instance of
CacheEventDispatcher, causing it to shutdown and release all
CacheEventListeners registered with it. |
<K,V> CacheEventDispatcher<K,V> createCacheEventDispatcher(Store<K,V> store, ServiceConfiguration<?,?>... serviceConfigs)
K - the key typeV - the value typestore - the store to link toserviceConfigs - the service configurationsCacheEventDispatcher<K,V> void releaseCacheEventDispatcher(CacheEventDispatcher<K,V> eventDispatcher)
CacheEventDispatcher, causing it to shutdown and release all
CacheEventListeners registered with it.eventDispatcher - the CacheEventDispatcher to release