java - Snapshot vs Clone in ConcurrentHashMap -


could please highlight different between "snapshot" vs "clone" in context of concurrenthashmap.
how snapshot iterator different iterator iterates on copy of underlying data-structure.

i guess confused between 2 name. same thing. iterator contain definite state of collection/maps , name different working same. though here can different ways implement iterators having performance impacts . please refer here "http://www.javamex.com/tutorials/synchronization_concurrency_8_copy_on_write.shtml"


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -