Class BlockingHashMap<K,V>

java.lang.Object
ca.uhn.hl7v2.concurrent.BlockingHashMap<K,V>
Type Parameters:
K -
V -
All Implemented Interfaces:
BlockingMap<K,V>, Map<K,V>

public class BlockingHashMap<K,V> extends Object implements BlockingMap<K,V>
Default Implementation of a BlockingMap.

Note: While it is not actively prevented that more then one thread waits for an entry, it is not guaranteed that all waiting threads will receive the entry once it became available. Other implementations may choose to count the waiting threads and/or to remove an available value after a grace period.