public void run() { doFetch(paramsCopy); } }.start();
public void run() { if (pollDisabled.get()) { LOG.info("Poll disabled"); return; } try { executorStartTime = System.currentTimeMillis(); replicationHandler.doFetch(null); } catch (Exception e) { LOG.error("Exception in fetching index", e); } } };