public class MaleFemaleStats extends GenericCounterStats
MB| Constructor and Description |
|---|
MaleFemaleStats(String name)
Creates a new male-female stats object, with the default intervals.
|
MaleFemaleStats(String name,
Interval[] intervals)
Creates a new stats object.
|
| Modifier and Type | Method and Description |
|---|---|
String |
describeForWebUI() |
long |
getFemale() |
long |
getFemale(String intervalName) |
long |
getMale() |
long |
getMale(String intervalName) |
void |
incFemale()
Increases female value.
|
void |
incMale()
Increases male value.
|
get, getAvailableValueNames, getPossibleNames, getValueByNameAsString, inc, incBy, toStatsString, toStringaddStatValues, createCallExecution, destroy, getName, isEmpty, toStatsString, toStatsString, toStatsStringpublic MaleFemaleStats(String name)
name - name of the stats object.public void incMale()
public void incFemale()
public long getMale(String intervalName)
public long getMale()
public long getFemale(String intervalName)
public long getFemale()
public String describeForWebUI()
describeForWebUI in class GenericCounterStatsCopyright © 2010-2017 anotheria.net. All Rights Reserved.