Interface EventHandling<K,V>
-
- All Known Implementing Classes:
EventHandlingImpl
public interface EventHandling<K,V>
Handles registering event listeners and event dispatching according to the JCache spec. See Impl.- Author:
- Jens Wilke
-
-
Field Summary
Fields Modifier and Type Field Description static EventHandling
DISABLED
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addInternalListenersToCache2kConfiguration(org.cache2k.config.Cache2kConfig<K,V> cfg)
boolean
deregisterListener(javax.cache.configuration.CacheEntryListenerConfiguration<K,V> cfg)
Collection<javax.cache.configuration.CacheEntryListenerConfiguration<K,V>>
getAllListenerConfigurations()
void
registerListener(javax.cache.configuration.CacheEntryListenerConfiguration<K,V> cfg)
-
-
-
Field Detail
-
DISABLED
static final EventHandling DISABLED
-
-
Method Detail
-
registerListener
void registerListener(javax.cache.configuration.CacheEntryListenerConfiguration<K,V> cfg)
-
deregisterListener
boolean deregisterListener(javax.cache.configuration.CacheEntryListenerConfiguration<K,V> cfg)
-
getAllListenerConfigurations
Collection<javax.cache.configuration.CacheEntryListenerConfiguration<K,V>> getAllListenerConfigurations()
-
-