org.apache.hadoop.yarn.server.timeline
Class NameValuePair

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

@InterfaceAudience.Private
@InterfaceStability.Unstable
public class NameValuePair
extends Object

A class holding a name and value pair, used for specifying filters in TimelineReader.


Constructor Summary
NameValuePair(String name, Object value)
           
 
Method Summary
 String getName()
          Get the name.
 Object getValue()
          Get the value.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NameValuePair

public NameValuePair(String name,
                     Object value)
Method Detail

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


Copyright © 2014 Apache Software Foundation. All Rights Reserved.