|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.speckled.specksim.statistics.StatisticsGatherer
public class StatisticsGatherer
A StatisticsGatherer has a set of modules that do the
actual statistics generation.
| Constructor Summary | |
|---|---|
StatisticsGatherer(StateSink state)
Constructs a new StatisticsGatherer that will update on changes to the supplied state |
|
| Method Summary | |
|---|---|
int |
getHistoryLength()
Gets the length of this gatherer's history |
StatisticsModule |
getModule(java.lang.String name)
Gets a named module |
java.lang.String[] |
getModuleNames()
Gets an array of the names of all the modules in this gatherer |
static boolean |
register(java.lang.String className)
Use this method in your startup code to make a statistics module available. |
void |
setHistoryLength(int history)
Sets the length of this gatherer's history |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StatisticsGatherer(StateSink state)
state - The state on which to operate| Method Detail |
|---|
public java.lang.String[] getModuleNames()
public StatisticsModule getModule(java.lang.String name)
name - the anme of the desired module
public void setHistoryLength(int history)
history - The desired length of historypublic int getHistoryLength()
public static boolean register(java.lang.String className)
className - The classname of the module to register
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||