So loadGraph doesn't build a new SimpleDirectedGraph? Can you point me to where it is reusing an existing object?
----- Original Message ----- From: "Emmanuel Lécharny" <[email protected]> To: [email protected] Sent: Monday, March 7, 2016 8:37:38 AM Subject: Re: LDAP Connection Management Le 07/03/16 14:28, Chris Pike a écrit : > Sorry, trying to understand... in your example, if the second thread gets > null and calls loadGraph a second time, what problem does that cause (other > than loading data twice)? Asked another way, what about loadGraph is not > thread safe? Well, you can easily imagine a situation where the first thread is trying to use the graph *just* when the other thread is creating it. Expect very weird - and non-reproductible - results !
