HADOOP-13033. Add missing Javadoc entries to Interns.java. Contributed by Andras Bokor.
This commit is contained in:
parent
9dbdc8e12d
commit
c610031cab
@ -29,7 +29,7 @@
|
|||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Helpers to create interned metrics info
|
* Helpers to create interned metrics info.
|
||||||
*/
|
*/
|
||||||
@InterfaceAudience.Public
|
@InterfaceAudience.Public
|
||||||
@InterfaceStability.Evolving
|
@InterfaceStability.Evolving
|
||||||
@ -109,9 +109,9 @@ enum Info {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get a metric info object
|
* Get a metric info object.
|
||||||
* @param name
|
* @param name Name of metric info object
|
||||||
* @param description
|
* @param description Description of metric info object
|
||||||
* @return an interned metric info object
|
* @return an interned metric info object
|
||||||
*/
|
*/
|
||||||
public static MetricsInfo info(String name, String description) {
|
public static MetricsInfo info(String name, String description) {
|
||||||
@ -143,7 +143,7 @@ enum Tags {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get a metrics tag
|
* Get a metrics tag.
|
||||||
* @param info of the tag
|
* @param info of the tag
|
||||||
* @param value of the tag
|
* @param value of the tag
|
||||||
* @return an interned metrics tag
|
* @return an interned metrics tag
|
||||||
@ -153,7 +153,7 @@ public static MetricsTag tag(MetricsInfo info, String value) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get a metrics tag
|
* Get a metrics tag.
|
||||||
* @param name of the tag
|
* @param name of the tag
|
||||||
* @param description of the tag
|
* @param description of the tag
|
||||||
* @param value of the tag
|
* @param value of the tag
|
||||||
|
Loading…
Reference in New Issue
Block a user