code: private void scheduleReload() {
  
          if (!isReloadScheduled() && (OpenCms.getRunLevel() > OpenCms.RUNLEVEL_1_CORE_OBJECT)) {
              // only schedule a reload if the system is not going down already
              m_threadCount++;
              Thread thread = new Thread("Bundle reload Thread " + m_threadCount) {
  
                  @Override
                  public void run() {
  
                      setReloadScheduled(true);
                      try {
                          Thread.sleep(1000);
                      } catch (Exception e) {
                          // ignore
                      }
                      if (isReloadScheduled()) {
                          reload(false);
                      }
                      setReloadScheduled(false);
                  }
              };
              thread.start();
          }
      }
docs: Schedules a bundle reload.<p>