コード例 #1
0
  @Override
  public void stop() {

    LOGGER.info("Stopping Elastic reporter engine...");
    client.shutdownClient();
    LOGGER.info("Stopping Elastic reporter engine... DONE");
  }
コード例 #2
0
 @PreDestroy
 public void shutdown() {
   if (null != elasticSearchClient) elasticSearchClient.shutdownClient();
 }
コード例 #3
0
ファイル: ElasticWriter.java プロジェクト: fcappelle/jmxtrans
 @Override
 public void stop() throws LifecycleException {
   super.stop();
   jestClient.shutdownClient();
 }