Class Registration<K,V>
- java.lang.Object
-
- com.github.benmanes.caffeine.jcache.event.Registration<K,V>
-
public final class Registration<K,V> extends Object
The registration of aCacheEntryListenerfor event dispatching.
-
-
Constructor Summary
Constructors Constructor Description Registration(CacheEntryListenerConfiguration<K,V> configuration, CacheEntryEventFilter<K,V> filter, com.github.benmanes.caffeine.jcache.event.EventTypeAwareListener<K,V> listener)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)CacheEntryEventFilter<K,V>getCacheEntryFilter()Returns the registered filter.com.github.benmanes.caffeine.jcache.event.EventTypeAwareListener<K,V>getCacheEntryListener()Returns the registered listener.CacheEntryListenerConfiguration<K,V>getConfiguration()Returns the configuration.inthashCode()booleanisSynchronous()
-
-
-
Constructor Detail
-
Registration
public Registration(CacheEntryListenerConfiguration<K,V> configuration, CacheEntryEventFilter<K,V> filter, com.github.benmanes.caffeine.jcache.event.EventTypeAwareListener<K,V> listener)
-
-
Method Detail
-
getConfiguration
public CacheEntryListenerConfiguration<K,V> getConfiguration()
Returns the configuration.
-
getCacheEntryListener
public com.github.benmanes.caffeine.jcache.event.EventTypeAwareListener<K,V> getCacheEntryListener()
Returns the registered listener.
-
getCacheEntryFilter
public CacheEntryEventFilter<K,V> getCacheEntryFilter()
Returns the registered filter.
-
isSynchronous
public boolean isSynchronous()
-
-