@Test public void testCPUUsageResolver() { double value = CPUUsageResolver.getProcessCPUUsage(), system = CPUUsageResolver.getSystemCPUUsage(); Assert.assertTrue(value <= 100D); Assert.assertTrue(system <= 100D); }
private CPUUsageResolver() { throw new UnsupportedOperationException(); }
CPUUsageResolver { private CPUUsageResolver() { throw new UnsupportedOperationException(); } }
CPUUsageResolver { private CPUUsageResolver() { throw new UnsupportedOperationException(); } private  CPUUsageResolver(); }
CPUUsageResolver { private CPUUsageResolver() { throw new UnsupportedOperationException(); } private  CPUUsageResolver(); static double getSystemCPUUsage(); static double getProcessCPUUsage(); static long getSystemMemory(); }
CPUUsageResolver { private CPUUsageResolver() { throw new UnsupportedOperationException(); } private  CPUUsageResolver(); static double getSystemCPUUsage(); static double getProcessCPUUsage(); static long getSystemMemory(); static final DecimalFormat CPU_USAGE_OUTPUT_FORMAT; }