Class FsInfo.Path

java.lang.Object
org.elasticsearch.monitor.fs.FsInfo.Path
All Implemented Interfaces:
Writeable, org.elasticsearch.common.xcontent.ToXContent, org.elasticsearch.common.xcontent.ToXContentObject
Enclosing class:
FsInfo

public static class FsInfo.Path extends Object implements Writeable, org.elasticsearch.common.xcontent.ToXContentObject
  • Constructor Details

  • Method Details

    • writeTo

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

      public String getPath()
    • getMount

      public String getMount()
    • getType

      public String getType()
    • getTotal

      public ByteSizeValue getTotal()
    • getFree

      public ByteSizeValue getFree()
    • getAvailable

      public ByteSizeValue getAvailable()
    • add

      public void add(FsInfo.Path path)
    • toXContent

      public org.elasticsearch.common.xcontent.XContentBuilder toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws IOException
      Specified by:
      toXContent in interface org.elasticsearch.common.xcontent.ToXContent
      Throws:
      IOException