Package com.linkedin.databus.client.pub

Examples of com.linkedin.databus.client.pub.DatabusClientNode


      String arg1 = (fns.length > 1) ? fns[1] : null;
      String arg2 = (fns.length > 2) ? fns[2] : null;
      try
      {
        String memberName = "cmd-line-tool";
        DatabusClientNode clusterNode = new DatabusClientNode (new DatabusClientNode.StaticConfig(true,serverList,
            2000,
            5000,
            namespace,
            groupname,
            memberName,false,sharedDir));
        DatabusClientGroupMember member = clusterNode.getMember(namespace,groupname,memberName);
        if (member == null  || !member.joinWithoutLeadershipDuties()) 
        {
          System.err.println("Initialization failed for: " +  member);
          System.exit(1);
        }
View Full Code Here


    _relayConnections = new ArrayList<DatabusSourcesConnection>(20);


    if (config.getCluster().isEnabled())
    {
      _clientNode = new DatabusClientNode(config.getCluster());
      _groupMember = _clientNode.isEnabled() ?  _clientNode.getMember(_clientStaticConfig.getCluster().getDomain(),
                                                            _clientStaticConfig.getCluster().getGroup(),
                                                            _clientStaticConfig.getCluster().getName()) : null;
    }
    else
View Full Code Here

TOP

Related Classes of com.linkedin.databus.client.pub.DatabusClientNode

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.