Пример #1
0
 public void stop() throws InterruptedException {
   for (RemoteListenerHandler handler : listenerHandlers) {
     handler.stop();
   }
   Closer.close(solrShardMgr);
   Closer.close(indexerMetrics);
   Closer.close(updaterMetrics);
 }
Пример #2
0
 public void start() throws RowLogException, InterruptedException, KeeperException {
   for (RemoteListenerHandler handler : listenerHandlers) {
     handler.start();
   }
 }