|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.siefkes.nlstego.predict.Metrics
public abstract class Metrics
Implementations of this abstract class handle performance measuring and
logging.
All instances of subclasses are registered and their status is printed
in regular intervals. To support this, each subclass must provide
appropriate printMetrics and printCommon methods.
Other methods of subclasses should call checkPublication
to ensure that publication takes place as scheduled.
Created (02.01.2002 16:00:47).
| Field Summary | |
|---|---|
protected static int |
MORE_DIGITS
The number of digits used for formatting potentially small data, where more digits than usually should be shown. |
| Method Summary | |
|---|---|
static StringBuilder |
collectResults()
Collects the results of all metrics for publication. |
protected static Configuration |
getConfig()
A standard get*(). |
static void |
reset()
Removes all registered instances and resets all static fields (so their results will not be collected and published any more). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final int MORE_DIGITS
Created (21.01.2002 14:57:57) by Christian Siefkes.
| Method Detail |
|---|
public static StringBuilder collectResults()
Created (15.01.2002 12:36:23) by Christian Siefkes.
protected static Configuration getConfig()
get*(). Created (17.01.2002 14:38:36) by Christian Siefkes.
public static void reset()
Created (05.02.2002 12:28:56) by Christian Siefkes.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||