Modifier and Type | Field and Description |
---|---|
protected Counter[] |
counters |
protected boolean |
enabled
The actual enabled value, set according to the value of the
Counter.Group.enabledOption during
image generation. |
protected String |
name |
Constructor and Description |
---|
Group(HostedOptionKey<Boolean> enabledOption,
String name) |
Modifier and Type | Method and Description |
---|---|
Counter[] |
getCounters() |
void |
logValues()
Prints all counters of this group to the
Log . |
void |
reset()
Resets the values of all counters in this group to 0.
|
protected final String name
protected Counter[] counters
protected boolean enabled
Counter.Group.enabledOption
during
image generation. This field must not be written at run time, otherwise constant folding
in the Counter.inc()
method is not possible.public Group(HostedOptionKey<Boolean> enabledOption, String name)