@Override public void stop() { LOGGER.info("Stopping Elastic reporter engine..."); client.shutdownClient(); LOGGER.info("Stopping Elastic reporter engine... DONE"); }
@PreDestroy public void shutdown() { if (null != elasticSearchClient) elasticSearchClient.shutdownClient(); }
@Override public void stop() throws LifecycleException { super.stop(); jestClient.shutdownClient(); }