public interface CacheEntryListenerInvocation<K,V> extends ListenerInvocation<Event<K,V>>
Modifier and Type | Method and Description |
---|---|
Class<? extends Annotation> |
getAnnotation() |
<C> CacheEventConverter<? super K,? super V,C> |
getConverter() |
CacheEventFilter<? super K,? super V> |
getFilter() |
Set<Class<? extends Annotation>> |
getFilterAnnotations() |
UUID |
getIdentifier() |
DataConversion |
getKeyDataConversion() |
Listener.Observation |
getObservation() |
DataConversion |
getValueDataConversion() |
CompletionStage<Void> |
invoke(EventWrapper<K,V,CacheEntryEvent<K,V>> event,
boolean isLocalNodePrimaryOwner)
Invokes the event
|
CompletionStage<Void> |
invokeNoChecks(EventWrapper<K,V,CacheEntryEvent<K,V>> wrappedEvent,
boolean skipQueue,
boolean skipConverter,
boolean needsTransform)
Invokes the event without applying filters or converters
|
boolean |
isClustered() |
boolean |
isSync() |
boolean |
useStorageFormat() |
getTarget, invoke
CompletionStage<Void> invoke(EventWrapper<K,V,CacheEntryEvent<K,V>> event, boolean isLocalNodePrimaryOwner)
event
- isLocalNodePrimaryOwner
- CompletionStage<Void> invokeNoChecks(EventWrapper<K,V,CacheEntryEvent<K,V>> wrappedEvent, boolean skipQueue, boolean skipConverter, boolean needsTransform)
wrappedEvent
- skipQueue
- skipConverter
- needsTransform
- boolean isClustered()
boolean isSync()
UUID getIdentifier()
Listener.Observation getObservation()
Class<? extends Annotation> getAnnotation()
CacheEventFilter<? super K,? super V> getFilter()
<C> CacheEventConverter<? super K,? super V,C> getConverter()
Set<Class<? extends Annotation>> getFilterAnnotations()
DataConversion getKeyDataConversion()
DataConversion getValueDataConversion()
boolean useStorageFormat()
Copyright © 2021 JBoss by Red Hat. All rights reserved.