org.elasticsearch.index.store.ram
Class RamDirectoryService
java.lang.Object
org.elasticsearch.index.shard.AbstractIndexShardComponent
org.elasticsearch.index.store.ram.RamDirectoryService
- All Implemented Interfaces:
- IndexShardComponent, DirectoryService
public class RamDirectoryService
- extends AbstractIndexShardComponent
- implements DirectoryService
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RamDirectoryService
@Inject
public RamDirectoryService(ShardId shardId,
@IndexSettings
Settings indexSettings)
throttleTimeInNanos
public long throttleTimeInNanos()
- Specified by:
throttleTimeInNanos
in interface DirectoryService
build
public org.apache.lucene.store.Directory[] build()
- Specified by:
build
in interface DirectoryService
renameFile
public void renameFile(org.apache.lucene.store.Directory dir,
String from,
String to)
throws IOException
- Specified by:
renameFile
in interface DirectoryService
- Throws:
IOException
fullDelete
public void fullDelete(org.apache.lucene.store.Directory dir)
- Specified by:
fullDelete
in interface DirectoryService
Copyright © 2009-2012. All Rights Reserved.