void (Configurable configurable, String action, long time) { if (ApplicationManager.getApplication().isDispatchThread()) { time = System.currentTimeMillis() - time; int threshold = Registry.intValue("ide.settings.configurable.loading.threshold", 0); if (0 < threshold && threshold < time) LOG.warn(time + " ms to " + getString(action, configurable)); } }