@Retention(value=RUNTIME) @Target(value=METHOD) @Documented public @interface UsageSample
Annotation that can be used to provide addition information about a usage sample statistic to the SLEE.
Modifier and Type | Required Element and Description |
---|---|
SampleUnits |
displayUnits
How units should be presented.
|
SampleUnits |
sourceUnits
The type of units being sampled.
|
Modifier and Type | Optional Element and Description |
---|---|
boolean |
aggregate
Flag indicating whether or not updates to this sample will aggregate in the parent usage parameter set.
|
String |
description
An arbitrary description about what is being sampled.
|
String |
shortName
A shortened version of the sample name.
|
String |
unitLabel
A label for the sample’s unit type.
|
public abstract SampleUnits sourceUnits
The type of units being sampled.
public abstract SampleUnits displayUnits
How units should be presented.
public abstract String description
An arbitrary description about what is being sampled.
public abstract boolean aggregate
Flag indicating whether or not updates to this sample 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 sample.
public abstract String shortName
A shortened version of the sample name.
public abstract String unitLabel
A label for the sample’s unit type.