Package com.linkedin.databus.groupleader.pub

Examples of com.linkedin.databus.groupleader.pub.GroupLeadershipConnectionFactory


  //used only for testing;
  void  open()
  {
  if (isEnabled())
  {
    GroupLeadershipConnectionFactory groupLeadershipConnFactory = new GroupLeadershipConnectionFactoryZkClientImpl(_config.getClusterServerList(),
        _config.getSessionTimeoutMillis(),
        _config.getConnectionTimeoutMillis());

    _connection = groupLeadershipConnFactory.getConnection();
    addMember(_config.getDomain(),_config.getGroup(),_config.getName(),_config.getSharedDataPath(),_config.isMastershipRequiredForWrite());
  }
  }
View Full Code Here

TOP

Related Classes of com.linkedin.databus.groupleader.pub.GroupLeadershipConnectionFactory

Copyright © 2018 www.massapicom. 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.