Interface CacheEntryListenerInvocation<K,V>
-
- All Superinterfaces:
org.infinispan.notifications.impl.ListenerInvocation<Event<K,V>>
- All Known Implementing Classes:
CacheNotifierImpl.BaseCacheEntryListenerInvocation,CacheNotifierImpl.ClusteredListenerInvocation,DelegatingCacheEntryListenerInvocation
public interface CacheEntryListenerInvocation<K,V> extends org.infinispan.notifications.impl.ListenerInvocation<Event<K,V>>
Additional listener methods specific to caches.- Since:
- 7.0
- Author:
- wburns
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Class<? extends java.lang.annotation.Annotation>getAnnotation()<C> CacheEventConverter<? super K,? super V,C>getConverter()CacheEventFilter<? super K,? super V>getFilter()java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>>getFilterAnnotations()java.util.UUIDgetIdentifier()DataConversiongetKeyDataConversion()Listener.ObservationgetObservation()DataConversiongetValueDataConversion()voidinvoke(EventWrapper<K,V,CacheEntryEvent<K,V>> event, boolean isLocalNodePrimaryOwner)voidinvokeNoChecks(EventWrapper<K,V,CacheEntryEvent<K,V>> wrappedEvent, boolean skipQueue, boolean skipConverter, boolean needsTransform)booleanisClustered()booleanisSync()booleanuseStorageFormat()
-
-
-
Method Detail
-
invoke
void invoke(EventWrapper<K,V,CacheEntryEvent<K,V>> event, boolean isLocalNodePrimaryOwner)
-
invokeNoChecks
void invokeNoChecks(EventWrapper<K,V,CacheEntryEvent<K,V>> wrappedEvent, boolean skipQueue, boolean skipConverter, boolean needsTransform)
-
isClustered
boolean isClustered()
-
isSync
boolean isSync()
-
getIdentifier
java.util.UUID getIdentifier()
-
getObservation
Listener.Observation getObservation()
-
getAnnotation
java.lang.Class<? extends java.lang.annotation.Annotation> getAnnotation()
-
getFilter
CacheEventFilter<? super K,? super V> getFilter()
-
getConverter
<C> CacheEventConverter<? super K,? super V,C> getConverter()
-
getFilterAnnotations
java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>> getFilterAnnotations()
-
getKeyDataConversion
DataConversion getKeyDataConversion()
-
getValueDataConversion
DataConversion getValueDataConversion()
-
useStorageFormat
boolean useStorageFormat()
- Returns:
- true if the filter/converter should be done in the storage format
-
-