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 -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -