public final class RamDirectoryService extends DirectoryService
componentSettings, indexSettings, logger, shardId
Constructor and Description |
---|
RamDirectoryService(ShardId shardId,
Settings indexSettings) |
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.store.Directory[] |
build() |
void |
renameFile(org.apache.lucene.store.Directory dir,
String from,
String to) |
long |
throttleTimeInNanos() |
newFromDistributor
indexSettings, nodeName, shardId
@Inject public RamDirectoryService(ShardId shardId, @IndexSettings Settings indexSettings)
public long throttleTimeInNanos()
throttleTimeInNanos
in class DirectoryService
public org.apache.lucene.store.Directory[] build()
build
in class DirectoryService
public void renameFile(org.apache.lucene.store.Directory dir, String from, String to) throws IOException
renameFile
in class DirectoryService
IOException
Copyright © 2009–2015. All rights reserved.