Package org.apache.hadoop.util

Examples of org.apache.hadoop.util.JMXThreadBasedMetrics


    if (resourceCalculator != null) {
      initCpuCumulativeTime =
        resourceCalculator.getProcResourceValues().getCumulativeCpuTime();
    }
   
    jmxThreadInfoTracker = new JMXThreadBasedMetrics();
    jmxThreadInfoTracker.registerThreadToTask(
        "MAIN_TASK", Thread.currentThread().getId());
    this.initJvmCpuCumulativeTime =
        jmxThreadInfoTracker.getCumulativeCPUTime();
   
View Full Code Here

TOP

Related Classes of org.apache.hadoop.util.JMXThreadBasedMetrics

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.