|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CacheEventDispatcherFactory
Service
interface for providing CacheEventDispatcher
s, consumed by
EhcacheManager
.
Method Summary | ||
---|---|---|
|
createCacheEventDispatcher(Store<K,V> store,
ServiceConfiguration<?>... serviceConfigs)
Creates an instance of CacheEventDispatcher to be used with a Cache and provided
Store . |
|
|
releaseCacheEventDispatcher(CacheEventDispatcher<K,V> eventDispatcher)
Releases an instance of CacheEventDispatcher , causing it to shutdown and release all
CacheEventListener s registered with it. |
Methods inherited from interface org.ehcache.spi.service.Service |
---|
start, stop |
Method Detail |
---|
<K,V> CacheEventDispatcher<K,V> createCacheEventDispatcher(Store<K,V> store, ServiceConfiguration<?>... serviceConfigs)
CacheEventDispatcher
to be used with a Cache
and provided
Store
.
K
- the key typeV
- the value typestore
- the store to link toserviceConfigs
- the service configurations
CacheEventDispatcher
<K,V> void releaseCacheEventDispatcher(CacheEventDispatcher<K,V> eventDispatcher)
CacheEventDispatcher
, causing it to shutdown and release all
CacheEventListener
s registered with it.
eventDispatcher
- the CacheEventDispatcher
to release
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |