private void updateInternal() throws Exception {
  long uptime=runtimeMXBean.getUptime();
  long cpuTime=proxyClient.getProcessCpuTime();
  long gcTime=sumGCTimes();
  gcCount=sumGCCount();
  if (lastUpTime > 0 && lastCPUTime > 0 && gcTime > 0) {
    deltaUptime_=uptime - lastUpTime;
    deltaCpuTime_=(cpuTime - lastCPUTime) / 1000000;
    deltaGcTime_=gcTime - lastGcTime;
    gcLoad=calcLoad(deltaCpuTime_,deltaGcTime_);
    cpuLoad=calcLoad(deltaUptime_,deltaCpuTime_);
  }
  lastUpTime=uptime;
  lastCPUTime=cpuTime;
  lastGcTime=gcTime;
  totalLoadedClassCount_=classLoadingMXBean_.getTotalLoadedClassCount();
  threadCount_=threadMXBean.getThreadCount();
}

private void updateInternal ( ) throws Exception { long uptime = runtimeMXBean . getUptime ( ) ; long cpuTime = proxyClient . getProcessCpuTime ( ) ; long gcTime = sumGCTimes ( ) ; gcCount = sumGCCount ( ) ; if ( lastUpTime > 0 && lastCPUTime > 0 && gcTime > 0 ) { deltaUptime_ = uptime - lastUpTime ; deltaCpuTime_ = ( cpuTime - lastCPUTime ) / 1000000 ; deltaGcTime_ = gcTime - lastGcTime ; gcLoad = calcLoad ( deltaCpuTime_ , deltaGcTime_ ) ; cpuLoad = calcLoad ( deltaUptime_ , deltaCpuTime_ ) ; } lastUpTime = uptime ; lastCPUTime = cpuTime ; lastGcTime = gcTime ; totalLoadedClassCount_ = classLoadingMXBean_ . getTotalLoadedClassCount ( ) ; threadCount_ = threadMXBean . getThreadCount ( ) ; }
calculates internal delta metrics
