Class NameValuePair

java.lang.Object
org.apache.hadoop.yarn.server.timeline.NameValuePair

@Private @Unstable public class NameValuePair extends Object
A class holding a name and value pair, used for specifying filters in TimelineReader.
  • Constructor Details

    • NameValuePair

      public NameValuePair(String name, Object value)
  • Method Details

    • getName

      public String getName()
      Get the name.
      Returns:
      The name.
    • getValue

      public Object getValue()
      Get the value.
      Returns:
      The value.
    • toString

      public String toString()
      Overrides:
      toString in class Object