this.nodeId = newNode.getId().toStringFull();
} else {
newNode = factory.newNode(bootHandle, Id.build(nodeId));
}
synchronized (newNode) {
while (!newNode.isReady() && !newNode.joinFailed()) {
newNode.wait(500);
if (newNode.joinFailed()) {
throw new IOException(
"Could not join the Pastry ring with reason: "
+ newNode.joinFailedReason());