Class OsStats.Mem

java.lang.Object
org.elasticsearch.monitor.os.OsStats.Mem
All Implemented Interfaces:
Writeable, org.elasticsearch.xcontent.ToXContent, org.elasticsearch.xcontent.ToXContentFragment
Enclosing class:
OsStats

public static class OsStats.Mem extends Object implements Writeable, org.elasticsearch.xcontent.ToXContentFragment
  • 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
    • getTotal

      public ByteSizeValue getTotal()
    • getUsed

      public ByteSizeValue getUsed()
    • getUsedPercent

      public short getUsedPercent()
    • getFree

      public ByteSizeValue getFree()
    • getFreePercent

      public short getFreePercent()
    • toXContent

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