uk.ac.soton.itinnovation.grid.service.utils.reportapi
Class ReportQueue
java.lang.Object
uk.ac.soton.itinnovation.grid.service.utils.reportapi.ReportQueue
public class ReportQueue
- extends Object
|
Constructor Summary |
ReportQueue()
Public constructor of ReportQueue. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReportQueue
public ReportQueue()
- Public constructor of ReportQueue.
add
public void add(NotificationMessage message)
poll
public NotificationMessage[] poll(int MaximumNumber)
toArray
public NotificationMessage[] toArray()
isEmpty
public boolean isEmpty()
peekOldestMessage
public NotificationMessage peekOldestMessage()
- Get the oldest message in the queue.
The message is NOT removed from the queue.
- Returns:
- the oldest message, or null if the queue is empty
Copyright © 2001-2007 University of Southampton IT Innovation Centre. All Rights Reserved.