TimelineHealth (Apache Hadoop YARN API 3.5.0 API)
Description: declaration: package: org.apache.hadoop.yarn.api.records.timeline, class: TimelineHealth

Package org.apache.hadoop.yarn.api.records.timeline

# Class TimelineHealth

java.lang.Object
org.apache.hadoop.yarn.api.records.timeline.TimelineHealth

@Public @Unstable public class TimelineHealth extends Object
This class holds health information for ATS.

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Class
  Description
  `static enum`
  `TimelineHealth.TimelineHealthStatus`
  Timline health status.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `TimelineHealth()`
  `TimelineHealth(TimelineHealth.TimelineHealthStatus healthy, String diagnosticsInfo)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getDiagnosticsInfo()`
  `TimelineHealth.TimelineHealthStatus`
  `getHealthStatus()`
  `void`
  `setDiagnosticsInfo(String diagnosticsInfo)`
  `void`
  `setHealthStatus(TimelineHealth.TimelineHealthStatus healthStatus)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### TimelineHealth

    public TimelineHealth(TimelineHealth.TimelineHealthStatus healthy, String diagnosticsInfo)

  - ### TimelineHealth

    public TimelineHealth()

- ## Method Details

  - ### getHealthStatus

    public TimelineHealth.TimelineHealthStatus getHealthStatus()

  - ### getDiagnosticsInfo

    public String getDiagnosticsInfo()

  - ### setHealthStatus

    public void setHealthStatus(TimelineHealth.TimelineHealthStatus healthStatus)

  - ### setDiagnosticsInfo

    public void setDiagnosticsInfo(String diagnosticsInfo)