juju.reattore.util
Class StatRegistry

java.lang.Object
  |
  +--juju.reattore.util.StatRegistry

public class StatRegistry
extends java.lang.Object

Statistic manager.


Constructor Summary
StatRegistry()
           
 
Method Summary
static java.util.List getAll()
          Get a list of all of the stats in the registry.
static void register(Stat stat)
          Register a new statistic with this manager.
static java.lang.String summarise()
          Summarise all of the registered statistics.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatRegistry

public StatRegistry()
Method Detail

register

public static void register(Stat stat)
Register a new statistic with this manager.

Parameters:
stat - The stat to register.

summarise

public static java.lang.String summarise()
Summarise all of the registered statistics.

Returns:
Summaries for each stat.

getAll

public static java.util.List getAll()
Get a list of all of the stats in the registry.

Returns:
All the stats.


Copyright © 2002-2003 Michael Hope. All Rights Reserved.