public void printInfo() {
		System.out.println("Local name is " + localName);
		System.out.println("Total number of node is " + this.allNodeList.size());
		System.out.println("Local node index is " + localNodeIndex);
		if (useLogicalClock)
			System.out.println("Using logical clock");
		else
			System.out.println("Using vector clock");

		// List all groups and their members
		Iterator<Entry<String, List<String>>> iter = groupMembers.entrySet().iterator();
		while (iter.hasNext()) {
			Entry<String, List<String>> group = iter.next();
			System.out.println(group.getKey() + ": " + group.getValue().toString());
		}
	}