Package org.apache.uima.ducc.common.node.metrics

Examples of org.apache.uima.ducc.common.node.metrics.NodeCpuInfo


public class NodeCpuCollector implements Callable<NodeCpuInfo> {

  public NodeCpuInfo call() throws Exception {
    OperatingSystemMXBean osBean = ManagementFactory.getOperatingSystemMXBean();
    return new NodeCpuInfo(osBean.getAvailableProcessors());
  }
View Full Code Here

TOP

Related Classes of org.apache.uima.ducc.common.node.metrics.NodeCpuInfo

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.