public abstract class DirectoryService extends AbstractIndexShardComponent
componentSettings, indexSettings, logger, shardId| Modifier | Constructor and Description |
|---|---|
protected |
DirectoryService(ShardId
|
| Modifier and Type | Method and Description |
|---|---|
abstract org |
build()
|
org |
newFromDistributor(Distributor
Creates a new Directory from the given distributor.
|
abstract void |
renameFile(org
|
abstract long |
throttleTimeInNanos()
|
indexSettings, nodeName, shardIdprotected DirectoryService(ShardIdshardId, @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