コード例 #1
0
  public void shutdown() {
    try {
      log.info("shutting down client...");
      _broker.shutdown();
    } finally {
      log.info("shutting down bootstrap...");

      try {
        networkClient.close();
      } catch (ClusterShutdownException e) {
        log.error(e.getMessage(), e);
      } finally {
        bootstrap.shutdown();
      }
    }
  }
コード例 #2
0
 public SenseiResult doQuery(SenseiRequest req) throws SenseiException {
   return _broker.browse(req);
 }