code: private void readMbean() {
          int i = 0;
          for (GarbageCollectorMXBean bean : mxBeans) {
              GCStats stat = (GCStats) iStatsList.get(i);
              stat.update(bean.getCollectionCount(), bean.getCollectionTime());
              i++;
          }
      }
docs: Reads the management bean and extracts monitored data on regular base.