code: public static long getDependencyCheckInterval()
    {
      ClassLoader loader = Thread.currentThread().getContextClassLoader();
  
      for (; loader != null; loader = loader.getParent()) {
        if (loader instanceof DynamicClassLoader)
          return ((DynamicClassLoader) loader).getDependencyCheckInterval();
      }
  
      return DynamicClassLoader.getGlobalDependencyCheckInterval();
    }
docs: Returns the current dependency check interval.