void (SearchRestartReason reason) { if (!rebuildListAlarm.isDisposed() && rebuildListAlarm.getActiveRequestCount() == 0) { long delay = StringUtil.isEmpty(getSearchPattern()) ? 0 : REBUILD_LIST_DELAY; rebuildListAlarm.addRequest(() -> rebuildList(reason), delay); } }