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 EventHandlingDISABLED
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddInternalListenersToCache2kConfiguration(org.cache2k.config.Cache2kConfig<K,V> cfg)booleanderegisterListener(javax.cache.configuration.CacheEntryListenerConfiguration<K,V> cfg)Collection<javax.cache.configuration.CacheEntryListenerConfiguration<K,V>>getAllListenerConfigurations()voidregisterListener(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()
-
-