question: public String toStringAtomic ( ) { lock . lock ( ) ; try { return toString ( ) ; } finally { lock . unlock ( ) ; } }
target:  Return a human readable representation of an atomic snapshot of the local copy of the distributed quorum state. This method acquires an internal lock to provide the atomic semantics. Since acquiring lock could cause a deadlock which would not otherwise arise, this method should be used sparingly.