Class CopyOnWriteMap<K,V>

java.lang.Object
io.undertow.util.CopyOnWriteMap<K,V>
All Implemented Interfaces:
ConcurrentMap<K,V>, Map<K,V>

public class CopyOnWriteMap<K,V> extends Object implements ConcurrentMap<K,V>
A basic copy on write map. It simply delegates to an underlying map, that is swapped out every time the map is updated. Note: this is not a secure map. It should not be used in situations where the map is populated from user input.
Author:
Stuart Douglas