Class InfinispanIndexManager

  • All Implemented Interfaces:
    org.hibernate.search.indexes.spi.IndexManager

    public class InfinispanIndexManager
    extends org.hibernate.search.indexes.spi.DirectoryBasedIndexManager
    A custom IndexManager to store indexes in the grid itself.
    Author:
    Sanne Grinovero <sanne@hibernate.org> (C) 2012 Red Hat Inc.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.hibernate.search.store.DirectoryProvider createDirectoryProvider​(String indexName, Properties cfg, org.hibernate.search.spi.WorkerBuildContext buildContext)  
      protected org.hibernate.search.backend.impl.lucene.WorkspaceHolder createWorkspaceHolder​(String indexName, Properties cfg, org.hibernate.search.spi.WorkerBuildContext buildContext)  
      boolean isMasterLocal()  
      • Methods inherited from class org.hibernate.search.indexes.spi.DirectoryBasedIndexManager

        addContainedEntity, awaitAsyncProcessingCompletion, createIndexReader, destroy, flushAndReleaseResources, getAnalyzer, getContainedTypes, getDirectoryModificationLock, getDirectoryProvider, getIndexBinding, getIndexingParameters, getIndexManagerType, getIndexName, getOptimizerStrategy, getReaderProvider, getSerializer, getSimilarity, getWorkspaceHolder, initialize, optimize, performOperations, performStreamOperation, setSearchFactory, toString
    • Constructor Detail

      • InfinispanIndexManager

        public InfinispanIndexManager()
    • Method Detail

      • createWorkspaceHolder

        protected org.hibernate.search.backend.impl.lucene.WorkspaceHolder createWorkspaceHolder​(String indexName,
                                                                                                 Properties cfg,
                                                                                                 org.hibernate.search.spi.WorkerBuildContext buildContext)
        Overrides:
        createWorkspaceHolder in class org.hibernate.search.indexes.spi.DirectoryBasedIndexManager
      • createDirectoryProvider

        protected org.hibernate.search.store.DirectoryProvider createDirectoryProvider​(String indexName,
                                                                                       Properties cfg,
                                                                                       org.hibernate.search.spi.WorkerBuildContext buildContext)
        Overrides:
        createDirectoryProvider in class org.hibernate.search.indexes.spi.DirectoryBasedIndexManager
      • isMasterLocal

        public boolean isMasterLocal()