|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ehcache.impl.internal.events.CacheEventDispatcherFactoryImpl
public class CacheEventDispatcherFactoryImpl
CacheEventDispatcher implementation that shares a single ExecutorService for unordered firing
between Caches of a given CacheManager. For ordered firing, a unique
single threaded ExecutorService is handed to each cache.
| Constructor Summary | |
|---|---|
CacheEventDispatcherFactoryImpl()
|
|
CacheEventDispatcherFactoryImpl(CacheEventDispatcherFactoryConfiguration configuration)
|
|
| Method Summary | ||
|---|---|---|
|
createCacheEventDispatcher(Store<K,V> store,
ServiceConfiguration<?>... serviceConfigs)
Creates an instance of CacheEventDispatcher to be used by CacheManager |
|
|
releaseCacheEventDispatcher(CacheEventDispatcher<K,V> cenlService)
Invoked by CacheManager to release all CacheEventListener listeners registered with CacheEventDispatcher |
|
void |
start(ServiceProvider serviceProvider)
Start this service using the provided configuration and ServiceProvider. |
|
void |
stop()
Stops this service. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CacheEventDispatcherFactoryImpl()
public CacheEventDispatcherFactoryImpl(CacheEventDispatcherFactoryConfiguration configuration)
| Method Detail |
|---|
public void start(ServiceProvider serviceProvider)
ServiceServiceProvider.
The goal of the service provider is to allow a service to use other services.
start in interface ServiceserviceProvider - the service provider.public void stop()
Service
stop in interface Service
public <K,V> CacheEventDispatcher<K,V> createCacheEventDispatcher(Store<K,V> store,
ServiceConfiguration<?>... serviceConfigs)
CacheEventDispatcherFactoryCacheEventDispatcher to be used by CacheManager
createCacheEventDispatcher in interface CacheEventDispatcherFactoryCacheEventDispatcherpublic <K,V> void releaseCacheEventDispatcher(CacheEventDispatcher<K,V> cenlService)
CacheEventDispatcherFactoryCacheManager to release all CacheEventListener listeners registered with CacheEventDispatcher
releaseCacheEventDispatcher in interface CacheEventDispatcherFactorycenlService - the CacheEventDispatcher
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||