Class OsInfo

java.lang.Object
org.elasticsearch.monitor.os.OsInfo
All Implemented Interfaces:
Writeable, org.elasticsearch.common.xcontent.ToXContent, ReportingService.Info

public class OsInfo extends Object implements ReportingService.Info
  • 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
    • getRefreshInterval

      public long getRefreshInterval()
    • getAvailableProcessors

      public int getAvailableProcessors()
    • getAllocatedProcessors

      public int getAllocatedProcessors()
    • getName

      public String getName()
    • getPrettyName

      public String getPrettyName()
    • getArch

      public String getArch()
    • getVersion

      public String getVersion()
    • 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