Skip to:
HashMap without any synchronization over different threads is used.
reviewed & merged
also set Lock on newly created docRef to assure cluster safety
HashMap without any synchronization over different threads is used.