org.jacorb.notification.queue

Class BoundedDeadlineEventQueue

public class BoundedDeadlineEventQueue extends AbstractBoundedEventHeap

Note that most of the methods are not thread-safe. this causes no problem as the methods are not intended to be directly called by clients. instead the superclass implements the interface EventQueue and invokes the methods thereby synchronizing access.

Version: $Id: BoundedDeadlineEventQueue.java,v 1.9 2006/02/25 15:28:40 alphonse.bendt Exp $

Author: Alphonse Bendt

Constructor Summary
BoundedDeadlineEventQueue(int maxSize, EventQueueOverflowStrategy overflowStrategy)
Method Summary
protected MessagegetEarliestTimeout()
protected MessagegetLeastPriority()
protected MessagegetOldestElement()
StringgetOrderPolicyName()
protected MessagegetYoungestElement()

Constructor Detail

BoundedDeadlineEventQueue

public BoundedDeadlineEventQueue(int maxSize, EventQueueOverflowStrategy overflowStrategy)

Method Detail

getEarliestTimeout

protected Message getEarliestTimeout()

getLeastPriority

protected Message getLeastPriority()

getOldestElement

protected Message getOldestElement()

getOrderPolicyName

public String getOrderPolicyName()

getYoungestElement

protected Message getYoungestElement()