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() |
newFromDistributorindexSettings, nodeName, shardId@Inject public RamDirectoryService(ShardId shardId, @IndexSettings Settings indexSettings)
public long throttleTimeInNanos()
throttleTimeInNanos in class DirectoryServicepublic org.apache.lucene.store.Directory[] build()
build in class DirectoryServicepublic void renameFile(org.apache.lucene.store.Directory dir,
String from,
String to)
throws IOException
renameFile in class DirectoryServiceIOExceptionCopyright © 2009–2016. All rights reserved.