Hi list,
I need to set nodes' attributes from a number of concurring threads.
Each thread owns a node object. Node objects are chosen by each thread at random from a LinkedBlockingQueue. No more than one thread can choose the same node, since we delete an already chosen node from LinkedBlockingQueue in an atomic way.
Now I need to perform a node.setAttribute() from each thread.