org.ehcache.events
Interface CacheEventDispatcherFactory

All Superinterfaces:
Service
All Known Implementing Classes:
CacheEventDispatcherFactoryImpl

public interface CacheEventDispatcherFactory
extends Service

A provider Service that will facilitate CacheEventDispatcher instance


Method Summary
<K,V> CacheEventDispatcher<K,V>
createCacheEventDispatcher(Store<K,V> store, ServiceConfiguration<?>... serviceConfigs)
          Creates an instance of CacheEventDispatcher to be used by CacheManager
<K,V> void
releaseCacheEventDispatcher(CacheEventDispatcher<K,V> cenlService)
          Invoked by CacheManager to release all CacheEventListener listeners registered with CacheEventDispatcher
 
Methods inherited from interface org.ehcache.spi.service.Service
start, stop
 

Method Detail

createCacheEventDispatcher

<K,V> CacheEventDispatcher<K,V> createCacheEventDispatcher(Store<K,V> store,
                                                           ServiceConfiguration<?>... serviceConfigs)
Creates an instance of CacheEventDispatcher to be used by CacheManager

Returns:
the CacheEventDispatcher

releaseCacheEventDispatcher

<K,V> void releaseCacheEventDispatcher(CacheEventDispatcher<K,V> cenlService)
Invoked by CacheManager to release all CacheEventListener listeners registered with CacheEventDispatcher

Parameters:
cenlService - the CacheEventDispatcher