Class Registration<K,​V>


  • public final class Registration<K,​V>
    extends java.lang.Object
    The registration of a CacheEntryListener for event dispatching.
    • Field Detail

      • configuration

        private final javax.cache.configuration.CacheEntryListenerConfiguration<K,​V> configuration
      • filter

        private final javax.cache.event.CacheEntryEventFilter<K,​V> filter
    • Constructor Detail

      • Registration

        public Registration​(javax.cache.configuration.CacheEntryListenerConfiguration<K,​V> configuration,
                            javax.cache.event.CacheEntryEventFilter<K,​V> filter,
                            EventTypeAwareListener<K,​V> listener)
    • Method Detail

      • getConfiguration

        public javax.cache.configuration.CacheEntryListenerConfiguration<K,​V> getConfiguration()
        Returns:
        the configuration
      • getCacheEntryListener

        public EventTypeAwareListener<K,​V> getCacheEntryListener()
        Returns:
        the registered listener
      • getCacheEntryFilter

        public javax.cache.event.CacheEntryEventFilter<K,​V> getCacheEntryFilter()
        Returns:
        the registered filter
      • isSynchronous

        public boolean isSynchronous()
        See CacheEntryListenerConfiguration.isSynchronous().