public void cancel() { LOG.debug("Feed cancelled"); shouldRun = false; thread.interrupt(); }
@edu.umd.cs.findbugs.annotations.SuppressWarnings(value = "RV_RETURN_VALUE_IGNORED_BAD_PRACTICE") private void sendInterruptMarker() { LOG.debug("Sending interrupt marker in order to interrupt feed consumer"); changes.offer(INTERRUPT_MARKER); }
private void handleHeartbeat() { LOG.debug("Got heartbeat from DB"); }