nodes[i] = node;
exeucotr.submit(new Runnable() {
public void run() {
try {
while (node.tryLock() == false) {
Thread.sleep(100 + RandomUtils.nextInt(100));
}
System.out.println("id: " + node.getId() + " is leader: " + node.isOwner());
} catch (InterruptedException e) {