108109110111112113114115116117
* */ private void leader() { synchronized (this) { leader = true; allocator = new ResourceAllocator(orbConf, leaderGroup.getMembers()); jobManager = new JobManager(orbCallback, orbConf, zk, allocator, leaderGroup.getMembers()); } waitLoop(); }