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

Variable Index

 o AGE_LIMIT
The time span the queue is allowed to cover, in milliseconds.
 o queue
The list of statistics objects.

Constructor Index

 o StatisticsQueue()
Constructs a statistics queue object.

Method Index

 o add(Statistics)
Add an object to the queue.
 o getIteration()
Get an iteration over the queue.

Variables

 o AGE_LIMIT
 private long AGE_LIMIT
The time span the queue is allowed to cover, in milliseconds.

 o queue
 private VectorIter queue
The list of statistics objects.

Constructors

 o StatisticsQueue
 public StatisticsQueue()
Constructs a statistics queue object.

Methods

 o add
 public void add(Statistics stats)
Add an object to the queue.

Parameters:
stats - the statistics object to add.
 o getIteration
 public VIteration getIteration()
Get an iteration over the queue.

Returns:
an iteration over the queue of statistics objects.