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
Post a Comment