Package org.goldenorb.client

Examples of org.goldenorb.client.NodeDoesNotExistException


  private void initializeLeaderGroupMonitor() throws OrbZKFailure, NodeDoesNotExistException {
    String leaderGroupPath = "/GoldenOrb/" + orbConf.getOrbClusterName() + "/OrbTrackerLeaderGroup";
    if (ZookeeperUtils.nodeExists(zk, leaderGroupPath)) {
      leaderGroupWatcher = new LeaderGroupMonitor(leaderGroupPath, this, zk);
    } else {
      throw new NodeDoesNotExistException(leaderGroupPath);
    }
  }
View Full Code Here


    String jobPath = "/GoldenOrb/" + orbConf.getOrbClusterName() + "/" + nodeName;
    if (ZookeeperUtils.nodeExists(zk, jobPath)) {
      if (nodeName.equalsIgnoreCase("JobQueue")) jobQueueWatcher = new JobsMonitor(jobPath, this, zk);
      else jobsInProgressWatcher = new JobsMonitor(jobPath, this, zk);
    } else {
      throw new NodeDoesNotExistException(jobPath);
    }
  }
View Full Code Here

TOP

Related Classes of org.goldenorb.client.NodeDoesNotExistException

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.