Class CopyOnWriteLinkedHashMap<K,​V>

  • Type Parameters:
    K -
    V -
    All Implemented Interfaces:
    Serializable, Map<K,​V>

    public class CopyOnWriteLinkedHashMap<K,​V>
    extends Object
    implements Map<K,​V>, Serializable
    Provides a mimimally concurrent (concurrent read/exclusive write) LinkedHashMap for use in read mostly situations. Does not support modification through entry/value collections. TODO: this may not be entirely thread safe as after the clone operations there's a chance that the referenced array is replaced by rehashing.
    See Also:
    Serialized Form
    • Constructor Detail

      • CopyOnWriteLinkedHashMap

        public CopyOnWriteLinkedHashMap()