org.elasticsearch.index.store.memory
Class ByteBufferDirectoryService
java.lang.Object
org.elasticsearch.index.shard.AbstractIndexShardComponent
org.elasticsearch.index.store.memory.ByteBufferDirectoryService
- All Implemented Interfaces:
- IndexShardComponent, DirectoryService
public class ByteBufferDirectoryService
- extends AbstractIndexShardComponent
- implements DirectoryService
Method Summary |
org.apache.lucene.store.Directory[] |
build()
|
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 |
ByteBufferDirectoryService
@Inject
public ByteBufferDirectoryService(ShardId shardId,
@IndexSettings
Settings indexSettings,
IndexStore indexStore,
ByteBufferCache byteBufferCache)
build
public org.apache.lucene.store.Directory[] build()
- Specified by:
build
in interface DirectoryService
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)
- Specified by:
fullDelete
in interface DirectoryService