Interface FilterIndexingServiceProvider

    • Method Detail

      • start

        void start()
        Start the provider. This is called after the dependencies are injected.
      • supportsFilter

        boolean supportsFilter​(IndexedFilter<?,​?,​?> indexedFilter)
        Reports whether this provider supports the given filter type.
        Parameters:
        indexedFilter - an indexable filter
        Returns:
        true if the filter is supported, false otherwise
      • interceptListenerInvocation

        <K,​V> DelegatingCacheEntryListenerInvocation<K,​V> interceptListenerInvocation​(org.infinispan.notifications.cachelistener.CacheEntryListenerInvocation<K,​V> invocation)
        Starts handling an invocation that uses an IndexedFilter.
        Type Parameters:
        K - cache key type
        V - cache value type
        Parameters:
        invocation - the invocation to handle
        Returns:
        the wrapped invocation
      • registerListenerInvocations

        <K,​V> void registerListenerInvocations​(boolean isClustered,
                                                     boolean isPrimaryOnly,
                                                     boolean filterAndConvert,
                                                     IndexedFilter<?,​?,​?> indexedFilter,
                                                     Map<Class<? extends Annotation>,​List<DelegatingCacheEntryListenerInvocation<K,​V>>> listeners,
                                                     org.infinispan.encoding.DataConversion keyDataConversion,
                                                     org.infinispan.encoding.DataConversion valueDataConversion)
      • stop

        void stop()
        Stop the provider.