org.apache.hadoop.metrics2
usage.@Deprecated @InterfaceAudience.LimitedPrivate(value={"HDFS","MapReduce"}) @InterfaceStability.Evolving public class MetricsUtil extends Object
限定符和类型 | 字段和说明 |
---|---|
static org.apache.commons.logging.Log |
LOG
已过时。
|
限定符和类型 | 方法和说明 |
---|---|
static MetricsRecord |
createRecord(MetricsContext context,
String recordName)
已过时。
Utility method to create and return new metrics record instance within the
given context.
|
static MetricsContext |
getContext(String contextName)
已过时。
|
static MetricsContext |
getContext(String refName,
String contextName)
已过时。
Utility method to return the named context.
|
public static MetricsContext getContext(String contextName)
public static MetricsContext getContext(String refName, String contextName)
public static MetricsRecord createRecord(MetricsContext context, String recordName)
context
- the contextrecordName
- name of the recordCopyright © 2009 The Apache Software Foundation