Package org.apache.uima.ducc.common.agent.metrics.memory

Examples of org.apache.uima.ducc.common.agent.metrics.memory.DuccNodeMemory


      } else if ( metricName.equalsIgnoreCase(TOTAL_SWAP_SPACE_SIZE)) {
        nodeMemory.setSwapTotal(metricValue);
      }
    }
    private DuccNodeMemory collect() {
      DuccNodeMemory nodeMemory = new DuccNodeMemory();
      OperatingSystemMXBean operatingSystemMXBean = ManagementFactory.getOperatingSystemMXBean();
      for (Method method : operatingSystemMXBean.getClass().getDeclaredMethods()) {
        method.setAccessible(true);
        if (method.getName().startsWith("get")
            && Modifier.isPublic(method.getModifiers())) {
View Full Code Here

TOP

Related Classes of org.apache.uima.ducc.common.agent.metrics.memory.DuccNodeMemory

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.