Class StatisticsQueue
java.lang.Object
|
+----StatisticsQueue
- public class StatisticsQueue
- extends Object
Class definition for a queue of statistics objects.
- Version:
- $Revision: 1.2 $, $Date: 2000/10/12 14:08:00 $
- Author:
- John Cavanaugh
-
AGE_LIMIT
- The time span the queue is allowed to cover, in milliseconds.
-
queue
- The list of statistics objects.
-
StatisticsQueue()
- Constructs a statistics queue object.
-
add(Statistics)
- Add an object to the queue.
-
getIteration()
- Get an iteration over the queue.
AGE_LIMIT
private long AGE_LIMIT
- The time span the queue is allowed to cover, in milliseconds.
queue
private VectorIter queue
- The list of statistics objects.
StatisticsQueue
public StatisticsQueue()
- Constructs a statistics queue object.
add
public void add(Statistics stats)
- Add an object to the queue.
- Parameters:
- stats - the statistics object to add.
getIteration
public VIteration getIteration()
- Get an iteration over the queue.
- Returns:
- an iteration over the queue of statistics objects.