@Retention(value=RUNTIME) @Target(value=METHOD) @Documented public @interface UsageCounter
Annotation that can be used to provide addition information about a usage counter to the SLEE.
Modifier and Type | Required Element and Description |
---|---|
CounterType |
counterType
The counter type.
|
Modifier and Type | Optional Element and Description |
---|---|
boolean |
aggregate
Flag indicating whether or not updates to this counter will aggregate in the parent usage parameter set.
|
String |
description
An arbitrary description about the counter.
|
int |
mapping
The SNMP counter ID to use, appended to the usage parameter set’s base OID.
|
String |
shortName
A shortened version of the counter name.
|
String |
unitLabel
A label for the counter’s unit type.
|
public abstract CounterType counterType
The counter type.
public abstract String description
An arbitrary description about the counter.
public abstract boolean aggregate
Flag indicating whether or not updates to this counter will aggregate in the parent usage parameter set. Aggregation can only occur if the parent usage parameter set is the same type as the child, or if the child’s parameter set type extends the parent’s parameter set type and the parent type defines the same counter.
public abstract String shortName
A shortened version of the counter name.
public abstract String unitLabel
A label for the counter’s unit type.