Class IndexEngineProxy


  • @Technical
    @Bean
    @Singleton
    public final class IndexEngineProxy
    extends Object
    A proxy to the Indexing Engine. It delegates all the call to the underlying indexing engine.
    • Method Detail

      • add

        public void add​(FullIndexEntry entry)
        Adds the specified entry in the indexes.
        Parameters:
        entry - the index to add.
      • delete

        public void delete​(IndexEntryKey entryKey)
        Removes from the indexes the entry identified by the specified key.
        Parameters:
        entryKey - the key of the entry in the indexes.
      • deleteByScope

        public void deleteByScope​(String scope)
        Removes from the index the entries matching the specified scope.
        Parameters:
        scope - the scope of the entries in the index.
      • deleteAll

        public void deleteAll()
        Removes all the index entries.
      • addIndexEntry

        public static void addIndexEntry​(FullIndexEntry indexEntry)
        Adds an entry index.
      • removeIndexEntry

        public static void removeIndexEntry​(IndexEntryKey indexEntry)
        Removes an entry index.
      • removeScopedIndexEntries

        public static void removeScopedIndexEntries​(String scope)
        Removes an entry index.
      • removeAllIndexEntries

        public static void removeAllIndexEntries()
        Removes all entry indexes.