Package org.elasticsearch.env
Class NodeEnvironment.NodePath
- java.lang.Object
-
- org.elasticsearch.env.NodeEnvironment.NodePath
-
- Enclosing class:
- NodeEnvironment
public static class NodeEnvironment.NodePath extends Object
-
-
Field Summary
Fields Modifier and Type Field Description FileStorefileStoreCached FileStore from pathPathindicesPathintmajorDeviceNumberintminorDeviceNumberPathpath
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Pathresolve(Index index)Resolves index directory against this NodePath ${data.paths}/nodes/{node.id}/indices/{index.uuid}Pathresolve(ShardId shardId)Resolves the given shards directory against this NodePath ${data.paths}/nodes/{node.id}/indices/{index.uuid}/{shard.id}StringtoString()
-
-
-
Constructor Detail
-
NodePath
public NodePath(Path path) throws IOException
- Throws:
IOException
-
-
Method Detail
-
resolve
public Path resolve(ShardId shardId)
Resolves the given shards directory against this NodePath ${data.paths}/nodes/{node.id}/indices/{index.uuid}/{shard.id}
-
resolve
public Path resolve(Index index)
Resolves index directory against this NodePath ${data.paths}/nodes/{node.id}/indices/{index.uuid}
-
-