public abstract class DirectoryService extends AbstractIndexShardComponent
componentSettings, indexSettings, logger, shardId
Modifier | Constructor and Description |
---|---|
protected |
DirectoryService(ShardId shardId,
Settings indexSettings) |
Modifier and Type | Method and Description |
---|---|
abstract org.apache.lucene.store.Directory[] |
build() |
org.apache.lucene.store.Directory |
newFromDistributor(Distributor distributor)
Creates a new Directory from the given distributor.
|
abstract void |
renameFile(org.apache.lucene.store.Directory dir,
String from,
String to) |
abstract long |
throttleTimeInNanos() |
indexSettings, nodeName, shardId
protected DirectoryService(ShardId shardId, @IndexSettings Settings indexSettings)
public abstract void renameFile(org.apache.lucene.store.Directory dir, String from, String to) throws IOException
IOException
public abstract org.apache.lucene.store.Directory[] build() throws IOException
IOException
public abstract long throttleTimeInNanos()
public org.apache.lucene.store.Directory newFromDistributor(Distributor distributor) throws IOException
DistributorDirectory
if there is more than one data path in the distributor.IOException
Copyright © 2009–2015. All rights reserved.