org.elasticsearch.index.store.fs
Class FsDirectoryService
java.lang.Object
org.elasticsearch.index.shard.AbstractIndexShardComponent
org.elasticsearch.index.store.fs.FsDirectoryService
- All Implemented Interfaces:
- IndexShardComponent, DirectoryService
- Direct Known Subclasses:
- MmapFsDirectoryService, NioFsDirectoryService, SimpleFsDirectoryService
public abstract class FsDirectoryService
- extends AbstractIndexShardComponent
- implements DirectoryService
Method Summary |
protected org.apache.lucene.store.LockFactory |
buildLockFactory()
|
void |
fullDelete(org.apache.lucene.store.Directory dir)
|
void |
renameFile(org.apache.lucene.store.Directory dir,
java.lang.String from,
java.lang.String to)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
indexStore
protected final FsIndexStore indexStore
FsDirectoryService
public FsDirectoryService(ShardId shardId,
@IndexSettings
Settings indexSettings,
IndexStore indexStore)
buildLockFactory
protected org.apache.lucene.store.LockFactory buildLockFactory()
throws java.io.IOException
- Throws:
java.io.IOException
renameFile
public void renameFile(org.apache.lucene.store.Directory dir,
java.lang.String from,
java.lang.String to)
throws java.io.IOException
- Specified by:
renameFile
in interface DirectoryService
- Throws:
java.io.IOException
fullDelete
public void fullDelete(org.apache.lucene.store.Directory dir)
throws java.io.IOException
- Specified by:
fullDelete
in interface DirectoryService
- Throws:
java.io.IOException