Class ClusterInfo.NodeAndPath

java.lang.Object
org.elasticsearch.cluster.ClusterInfo.NodeAndPath
All Implemented Interfaces:
Writeable
Enclosing class:
ClusterInfo

public static class ClusterInfo.NodeAndPath
extends java.lang.Object
implements Writeable
Represents a data path on a node
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable

    Writeable.Reader<V>, Writeable.Writer<V>
  • Field Summary

    Fields
    Modifier and Type Field Description
    java.lang.String nodeId  
    java.lang.String path  
  • Constructor Summary

    Constructors
    Constructor Description
    NodeAndPath​(java.lang.String nodeId, java.lang.String path)  
    NodeAndPath​(StreamInput in)  
  • Method Summary

    Modifier and Type Method Description
    boolean equals​(java.lang.Object o)  
    int hashCode()  
    void writeTo​(StreamOutput out)
    Write this into the StreamOutput.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • nodeId

      public final java.lang.String nodeId
    • path

      public final java.lang.String path
  • Constructor Details

    • NodeAndPath

      public NodeAndPath​(java.lang.String nodeId, java.lang.String path)
    • NodeAndPath

      public NodeAndPath​(StreamInput in) throws java.io.IOException
      Throws:
      java.io.IOException
  • Method Details

    • equals

      public boolean equals​(java.lang.Object o)
      Overrides:
      equals in class java.lang.Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object
    • writeTo

      public void writeTo​(StreamOutput out) throws java.io.IOException
      Description copied from interface: Writeable
      Write this into the StreamOutput.
      Specified by:
      writeTo in interface Writeable
      Throws:
      java.io.IOException