Class InfinispanIndexManager
- java.lang.Object
-
- org.hibernate.search.indexes.spi.DirectoryBasedIndexManager
-
- org.infinispan.query.indexmanager.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.
-
-
Constructor Summary
Constructors Constructor Description InfinispanIndexManager()
-
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
-
-
-
-
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 classorg.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 classorg.hibernate.search.indexes.spi.DirectoryBasedIndexManager
-
isMasterLocal
public boolean isMasterLocal()
-
-