Package org.elasticsearch.index.store
Class DirectoryService
java.lang.Object
org.elasticsearch.index.shard.AbstractIndexShardComponent
org.elasticsearch.index.store.DirectoryService
- All Implemented Interfaces:
IndexShardComponent
public abstract class DirectoryService extends AbstractIndexShardComponent
-
Field Summary
Fields inherited from class org.elasticsearch.index.shard.AbstractIndexShardComponent
indexSettings, logger, shardId
-
Constructor Summary
Constructors Modifier Constructor Description protected
DirectoryService(ShardId shardId, IndexSettings indexSettings)
-
Method Summary
Modifier and Type Method Description abstract org.apache.lucene.store.Directory
newDirectory()
Methods inherited from class org.elasticsearch.index.shard.AbstractIndexShardComponent
indexSettings, shardId
-
Constructor Details
-
Method Details
-
newDirectory
public abstract org.apache.lucene.store.Directory newDirectory() throws java.io.IOException- Throws:
java.io.IOException
-