Package org.apache.helix

Examples of org.apache.helix.HelixManager.disconnect()


    // stop the rest
    for (Map.Entry<String, StartCMResult> entry : testInfo._startCMResultMap.entrySet())
    {
      HelixManager manager = entry.getValue()._manager;
      manager.disconnect();
      Thread thread = entry.getValue()._thread;
      thread.interrupt();
    }

    testInfo._zkClient.close();
View Full Code Here


  public void deregister(final String serviceId)
  {
    HelixManager helixManager = serviceMap.get(serviceId);
    if (helixManager != null && helixManager.isConnected())
    {
      helixManager.disconnect();
    }
  }

  public boolean register(final String serviceId,
      final ServiceMetadata serviceMetadata) throws Exception
View Full Code Here

      logger.info("controller:" + controllerName + ", " + Thread.currentThread().getName()
          + " interrupted");
    }
    finally
    {
      manager.disconnect();
      ZKPropertyTransferServer.getInstance().shutdown();
    }

  }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.