Class NodeEnvironment.NodePath

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

@PublicApi(since="1.0.0") public static class NodeEnvironment.NodePath extends Object
A node path.
Opensearch.api:
  • Field Details

    • path

      public final Path path
    • indicesPath

      public final Path indicesPath
    • fileStore

      public final FileStore fileStore
      Cached FileStore from path
    • fileCachePath

      public final Path fileCachePath
    • fileCacheReservedSize

      public org.opensearch.core.common.unit.ByteSizeValue fileCacheReservedSize
    • majorDeviceNumber

      public final int majorDeviceNumber
    • minorDeviceNumber

      public final int minorDeviceNumber
  • Constructor Details

  • Method Details

    • resolve

      public Path resolve(org.opensearch.core.index.shard.ShardId shardId)
      Resolves the given shards directory against this NodePath ${data.paths}/nodes/{node.id}/indices/{index.uuid}/{shard.id}
    • resolve

      public Path resolve(org.opensearch.core.index.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