Class NodeEnvironment.NodePath

java.lang.Object
org.elasticsearch.env.NodeEnvironment.NodePath
Enclosing class:
NodeEnvironment

public static class NodeEnvironment.NodePath extends Object
  • Field Details

    • path

      public final Path path
    • indicesPath

      public final Path indicesPath
    • fileStore

      public final FileStore fileStore
      Cached FileStore from path
    • majorDeviceNumber

      public final int majorDeviceNumber
    • minorDeviceNumber

      public final int minorDeviceNumber
  • Constructor Details

  • Method Details

    • 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}
    • toString

      public String toString()
      Overrides:
      toString in class Object