public void shutdown() { numericQueueConsumer.shutdown(); try { numericQueueConsumer.join(); // Lets wait for it to finish before we continue.. } catch (InterruptedException e) { log.warn("Potential data loss while waiting for the queue to empty, ", e); } aggregationManager.shutdown(); invalidMetricsManager.shutdown(); }
public void shutdown() { aggregationManager.shutdown(); invalidMetricsManager.shutdown(); }