Package org.opennms.netmgt.notifd
Class NoticeQueue
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.TreeMap<K,java.util.List<V>>
-
- org.opennms.netmgt.notifd.DuplicateTreeMap<java.lang.Long,NotificationTask>
-
- org.opennms.netmgt.notifd.NoticeQueue
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.util.Map<java.lang.Long,java.util.List<NotificationTask>>
,java.util.NavigableMap<java.lang.Long,java.util.List<NotificationTask>>
,java.util.SortedMap<java.lang.Long,java.util.List<NotificationTask>>
public class NoticeQueue extends DuplicateTreeMap<java.lang.Long,NotificationTask>
This is a data class designed to hold NotificationTasks in an ordered map that can handle collisions.- Version:
- 1.1.1.1
- Author:
- Jason Johns , OpenNMS , Jason Johns , OpenNMS
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NoticeQueue()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NotificationTask
putItem(java.lang.Long key, NotificationTask value)
putItem-
Methods inherited from class org.opennms.netmgt.notifd.DuplicateTreeMap
toString
-
Methods inherited from class java.util.TreeMap
ceilingEntry, ceilingKey, clear, clone, comparator, containsKey, containsValue, descendingKeySet, descendingMap, entrySet, firstEntry, firstKey, floorEntry, floorKey, forEach, get, headMap, headMap, higherEntry, higherKey, keySet, lastEntry, lastKey, lowerEntry, lowerKey, navigableKeySet, pollFirstEntry, pollLastEntry, put, putAll, remove, replace, replace, replaceAll, size, subMap, subMap, tailMap, tailMap, values
-
-
-
-
Method Detail
-
putItem
public NotificationTask putItem(java.lang.Long key, NotificationTask value)
putItem
- Overrides:
putItem
in classDuplicateTreeMap<java.lang.Long,NotificationTask>
- Parameters:
key
- a K object.value
- a V object.- Returns:
- a V object.
-
-