public interface FilterIndexingServiceProvider
CacheEventFilterConverter.filterAndConvert(Object,
Object, Metadata, Object, Metadata, EventType) method. Implementations are discovered via the ServiceLoader or ServiceFinder mechanism. Implementations may have
their dependencies injected using the Inject annotation.| Modifier and Type | Method and Description |
|---|---|
<K,V> DelegatingCacheEntryListenerInvocation<K,V> |
interceptListenerInvocation(CacheEntryListenerInvocation<K,V> invocation)
Starts handling an invocation that uses an
IndexedFilter. |
<K,V> void |
registerListenerInvocations(boolean isClustered,
boolean isPrimaryOnly,
boolean filterAndConvert,
IndexedFilter<?,?,?> indexedFilter,
java.util.Map<java.lang.Class<? extends java.lang.annotation.Annotation>,java.util.List<DelegatingCacheEntryListenerInvocation<K,V>>> listeners,
DataConversion keyDataConversion,
DataConversion valueDataConversion) |
void |
start()
Start the provider.
|
void |
stop()
Stop the provider.
|
boolean |
supportsFilter(IndexedFilter<?,?,?> indexedFilter)
Reports whether this provider supports the given filter type.
|
void start()
boolean supportsFilter(IndexedFilter<?,?,?> indexedFilter)
indexedFilter - an indexable filtertrue if the filter is supported, false otherwise<K,V> DelegatingCacheEntryListenerInvocation<K,V> interceptListenerInvocation(CacheEntryListenerInvocation<K,V> invocation)
IndexedFilter.K - cache key typeV - cache value typeinvocation - the invocation to handle<K,V> void registerListenerInvocations(boolean isClustered,
boolean isPrimaryOnly,
boolean filterAndConvert,
IndexedFilter<?,?,?> indexedFilter,
java.util.Map<java.lang.Class<? extends java.lang.annotation.Annotation>,java.util.List<DelegatingCacheEntryListenerInvocation<K,V>>> listeners,
DataConversion keyDataConversion,
DataConversion valueDataConversion)
void stop()