org.opennms.netmgt.notifd
Class NoticeQueue

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.TreeMap<K,List<V>>
          extended by org.opennms.netmgt.notifd.DuplicateTreeMap<Long,NotificationTask>
              extended by org.opennms.netmgt.notifd.NoticeQueue
All Implemented Interfaces:
Serializable, Cloneable, Map<Long,List<NotificationTask>>, NavigableMap<Long,List<NotificationTask>>, SortedMap<Long,List<NotificationTask>>

public class NoticeQueue
extends DuplicateTreeMap<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
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Constructor Summary
NoticeQueue()
           
 
Method Summary
 NotificationTask putItem(Long key, NotificationTask value)
           
 
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, get, headMap, headMap, higherEntry, higherKey, keySet, lastEntry, lastKey, lowerEntry, lowerKey, navigableKeySet, pollFirstEntry, pollLastEntry, put, putAll, remove, size, subMap, subMap, tailMap, tailMap, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, isEmpty
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode, isEmpty
 

Constructor Detail

NoticeQueue

public NoticeQueue()
Method Detail

putItem

public NotificationTask putItem(Long key,
                                NotificationTask value)
Overrides:
putItem in class DuplicateTreeMap<Long,NotificationTask>


Copyright © 2009. All Rights Reserved.