public static class NodeEnvironment.NodePath extends Object
| 修飾子とタイプ | フィールドと説明 |
|---|---|
FileStore |
fileStore
Cached FileStore from path
|
Path |
indicesPath |
Path |
path |
Boolean |
spins
Cached result of Lucene's
IOUtils.spins on path. |
| コンストラクタと説明 |
|---|
NodePath(Path path,
Environment environment) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
Path |
resolve(Index index)
Resolves the given indexes directory against this NodePath
|
Path |
resolve(ShardId shardId)
Resolves the given shards directory against this NodePath
|
String |
toString() |
public final Path path
public final Path indicesPath
public final FileStore fileStore
public final Boolean spins
IOUtils.spins on path. This is a trilean value: null means we could not determine it (we are
not running on Linux, or we hit an exception trying), True means the device possibly spins and False means it does not.public NodePath(Path path, Environment environment) throws IOException
IOExceptionCopyright © 2009–2016. All rights reserved.