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
    • 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()
      • addInternalListenersToCache2kConfiguration

        void addInternalListenersToCache2kConfiguration​(org.cache2k.config.Cache2kConfig<K,​V> cfg)