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,
Map<Class<? extends Annotation>,List<DelegatingCacheEntryListenerInvocation<K,V>>> listeners) |
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,
Map<Class<? extends Annotation>,List<DelegatingCacheEntryListenerInvocation<K,V>>> listeners)
void stop()
Copyright © 2017 JBoss, a division of Red Hat. All rights reserved.