|
Jacson | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.spieleck.app.jacson.util.Accountor
Class to collect and report various statistical informations about incoming chunks.
Field Summary | |
protected int |
limit
lower limit to the output (saves significantly resources) |
static java.lang.String |
LIMIT_NODE
Report name for absolute limit |
protected int |
max
keep track of the maximum and total counts |
static java.lang.String |
NAME_RCOUNT
Report name for remaining count |
static java.lang.String |
NAME_REMAIN
Report name for remaining sum |
static java.lang.String |
NAMENAME_REMAIN
Report name for remain values value-name |
static java.lang.String |
NUMBER_NODE
Report name for numbered limit |
protected int |
numberLimit
Not yet used: can be achieved in XSL postprocessing |
static java.lang.String |
PERC_NODE
Report name for percentile limit |
protected double |
percentLimit
|
protected gnu.trove.TObjectIntHashMap |
seen
|
protected int |
total
keep track of the maximum and total counts |
Constructor Summary | |
Accountor(ConfigNode config)
|
Method Summary | |
boolean |
accept(ConfigNode cn)
|
void |
account(java.lang.Object h)
|
static void |
reportCount(JacsonReport jr,
java.lang.String name,
java.lang.String value)
|
static void |
reportCount(JacsonReport jr,
java.lang.String nameName,
java.lang.String name,
java.lang.String value)
|
void |
summary(JacsonReport jr)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String LIMIT_NODE
public static final java.lang.String PERC_NODE
public static final java.lang.String NUMBER_NODE
public static final java.lang.String NAMENAME_REMAIN
public static final java.lang.String NAME_REMAIN
public static final java.lang.String NAME_RCOUNT
protected gnu.trove.TObjectIntHashMap seen
protected int limit
protected double percentLimit
protected int numberLimit
protected int max
protected int total
Constructor Detail |
public Accountor(ConfigNode config) throws JacsonConfigException
Method Detail |
public boolean accept(ConfigNode cn)
accept
in interface ConfigVerify.Acceptor
public void account(java.lang.Object h)
public void summary(JacsonReport jr)
public static void reportCount(JacsonReport jr, java.lang.String name, java.lang.String value)
public static void reportCount(JacsonReport jr, java.lang.String nameName, java.lang.String name, java.lang.String value)
|
Spieleck | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |