Class CacheNotifierImpl.CacheInvocationBuilder
java.lang.Object
AbstractListenerImpl<Event<K,V>,CacheEntryListenerInvocation<K,V>>.AbstractInvocationBuilder
org.infinispan.notifications.cachelistener.CacheNotifierImpl.CacheInvocationBuilder
- Direct Known Subclasses:
CacheNotifierImpl.DelegatingCacheInvocationBuilder
- Enclosing class:
- CacheNotifierImpl<K,
V>
protected class CacheNotifierImpl.CacheInvocationBuilder
extends AbstractListenerImpl<Event<K,V>,CacheEntryListenerInvocation<K,V>>.AbstractInvocationBuilder
-
Field Summary
Fields inherited from class org.infinispan.notifications.impl.AbstractListenerImpl.AbstractInvocationBuilder
annotation, classLoader, method, subject, sync, target
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
CacheEventConverter<? super K,
? super V, ?> CacheEventFilter<? super K,
? super V> boolean
boolean
boolean
setClustered
(boolean clustered) setConverter
(CacheEventConverter<? super K, ? super V, ?> converter) setFilter
(CacheEventFilter<? super K, ? super V> filter) setFilterAnnotations
(Set<Class<? extends Annotation>> filterAnnotations) setIdentifier
(UUID identifier) setIncludeCurrentState
(boolean includeCurrentState) setKeyDataConversion
(DataConversion dataConversion) setObservation
(Listener.Observation observation) setOnlyPrimary
(boolean onlyPrimary) setValueDataConversion
(DataConversion dataConversion) useStorageFormat
(boolean useStorageFormat) protected <C> void
wireDependencies
(CacheEventFilter<? super K, ? super V> filter, CacheEventConverter<? super K, ? super V, C> converter) Methods inherited from class org.infinispan.notifications.impl.AbstractListenerImpl.AbstractInvocationBuilder
getClassLoader, getMethod, getSubject, getTarget, isSync, setAnnotation, setClassLoader, setMethod, setSubject, setSync, setTarget
-
Constructor Details
-
CacheInvocationBuilder
protected CacheInvocationBuilder()
-
-
Method Details
-
getFilter
-
setFilter
public CacheNotifierImpl<K,V>.CacheInvocationBuilder setFilter(CacheEventFilter<? super K, ? super V> filter) -
getConverter
-
setConverter
public CacheNotifierImpl<K,V>.CacheInvocationBuilder setConverter(CacheEventConverter<? super K, ? super V, ?> converter) -
useStorageFormat
-
isOnlyPrimary
public boolean isOnlyPrimary() -
setOnlyPrimary
-
isClustered
public boolean isClustered() -
setClustered
-
getIdentifier
-
setIdentifier
-
setKeyDataConversion
public CacheNotifierImpl<K,V>.CacheInvocationBuilder setKeyDataConversion(DataConversion dataConversion) -
setValueDataConversion
public CacheNotifierImpl<K,V>.CacheInvocationBuilder setValueDataConversion(DataConversion dataConversion) -
isIncludeCurrentState
public boolean isIncludeCurrentState() -
setIncludeCurrentState
public CacheNotifierImpl<K,V>.CacheInvocationBuilder setIncludeCurrentState(boolean includeCurrentState) -
getObservation
-
setObservation
public CacheNotifierImpl<K,V>.CacheInvocationBuilder setObservation(Listener.Observation observation) -
setFilterAnnotations
public CacheNotifierImpl<K,V>.CacheInvocationBuilder setFilterAnnotations(Set<Class<? extends Annotation>> filterAnnotations) -
build
- Specified by:
build
in classAbstractListenerImpl<Event<K,
V>, CacheEntryListenerInvocation<K, V>>.AbstractInvocationBuilder
-
wireDependencies
protected <C> void wireDependencies(CacheEventFilter<? super K, ? super V> filter, CacheEventConverter<? super K, ? super V, C> converter)
-