|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hadoop.metrics.jvm.JvmMetrics
org.apache.hadoop.metrics2
usage.
@Deprecated @InterfaceAudience.Private @InterfaceStability.Evolving public class JvmMetrics
Singleton class which reports Java Virtual Machine metrics to the metrics API. Any application can create an instance of this class in order to emit Java VM metrics.
Method Summary | |
---|---|
void |
doUpdates(MetricsContext context)
Deprecated. This will be called periodically (with the period being configuration dependent). |
static JvmMetrics |
init(String processName,
String sessionId)
Deprecated. |
static JvmMetrics |
init(String processName,
String sessionId,
String recordName)
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static JvmMetrics init(String processName, String sessionId)
public static JvmMetrics init(String processName, String sessionId, String recordName)
public void doUpdates(MetricsContext context)
doUpdates
in interface Updater
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |