Package org.infinispan.lucene.directory
Class DirectoryBuilder
- java.lang.Object
-
- org.infinispan.lucene.directory.DirectoryBuilder
-
public final class DirectoryBuilder extends Object
Builder class to create instances of theDirectory
implementation which stored data in the data grid.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BuildContext
newDirectoryInstance(Cache<?,?> metadataCache, Cache<?,?> chunksCache, Cache<?,?> distLocksCache, String indexName)
Starting point to create a Directory instance.
-
-
-
Method Detail
-
newDirectoryInstance
public static BuildContext newDirectoryInstance(Cache<?,?> metadataCache, Cache<?,?> chunksCache, Cache<?,?> distLocksCache, String indexName)
Starting point to create a Directory instance.- Parameters:
metadataCache
- contains the metadata of stored elementschunksCache
- cache containing the bulk of the index; this is the larger part of datadistLocksCache
- cache to store locks; should be replicated and not using a persistent CacheStoreindexName
- identifies the index; you can store different indexes in the same set of caches using different identifiers
-
-