@Immutable public interface StatisticsType
Statistics
.
To get an instance of this interface use an instance of StatisticsFactory
.
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Returns a description of this statistics type
|
String |
getName()
Returns the name of this statistics type
|
StatisticDescriptor[] |
getStatistics()
Returns descriptions of the statistics that this statistics type gathers together
|
StatisticDescriptor |
nameToDescriptor(String name)
Returns the descriptor of the statistic with the given name in this statistics instance.
|
int |
nameToId(String name)
Returns the id of the statistic with the given name in this statistics instance.
|
String getName()
String getDescription()
StatisticDescriptor[] getStatistics()
int nameToId(String name)
name
- the name of a statisticIllegalArgumentException
- No statistic named name
exists in this statistics
instance.StatisticDescriptor nameToDescriptor(String name)
name
- the name of a statisticIllegalArgumentException
- No statistic named name
exists in this statistics
instance.