public static class NodeEnvironment.NodePath extends Object
Modifier and Type | Field and Description |
---|---|
FileStore |
fileStore
Cached FileStore from path
|
Path |
indicesPath |
Path |
path |
Boolean |
spins
Cached result of Lucene's
IOUtils.spins on path. |
Constructor and Description |
---|
NodeEnvironment.NodePath(Path path,
Environment environment) |
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 NodeEnvironment.NodePath(Path path, Environment environment) throws IOException
IOException
Copyright © 2009–2016. All rights reserved.