public String toStringAtomic(){
  lock.lock();
  try {
    return toString();
  }
  finally {
    lock.unlock();
  }
}

public String toStringAtomic ( ) { lock . lock ( ) ; try { return toString ( ) ; } finally { lock . unlock ( ) ; } }
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 .
