| Modifier and Type | Field and Description |
|---|---|
| public static final Units | BYTES
Units attribute representing Bytes. |
| public static final Units | EVENTS
Units attribute representing a count of events. |
| public static final Units | HERTZ
Units attribute representing Hertz (frequency). |
| public static final Units | INVALID
An Invalid Units value. |
| private static Units[] | |
| private final String | |
| public static final Units | NONE
Units attribute representing unit-less quantities. |
| private static final int | |
| private static final long | |
| public static final Units | STRING
Units attribute representing String data. |
| public static final Units | TICKS
Units attribute representing Ticks. |
| private final int |
| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: int - an integer representation of this Units attribute.Returns the integer representation of this Units attribute |
| public String | Returns: String - a descriptive string for this enum.Overrides java. Returns a string describing this Unit of measurement attribute |
| public static Units | toUnits(int
an integer representation of counter Units value)Maps an integer value to its corresponding Units attribute. |
| BYTES | back to summary |
|---|---|
| public static final Units BYTES Units attribute representing Bytes. | |
| EVENTS | back to summary |
|---|---|
| public static final Units EVENTS Units attribute representing a count of events. | |
| HERTZ | back to summary |
|---|---|
| public static final Units HERTZ Units attribute representing Hertz (frequency). | |
| INVALID | back to summary |
|---|---|
| public static final Units INVALID An Invalid Units value. | |
| map | back to summary |
|---|---|
| private static Units[] map | |
| name | back to summary |
|---|---|
| private final String name | |
| NONE | back to summary |
|---|---|
| public static final Units NONE Units attribute representing unit-less quantities. | |
| NUNITS | back to summary |
|---|---|
| private static final int NUNITS | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| STRING | back to summary |
|---|---|
| public static final Units STRING Units attribute representing String data. Although not really a unit of measure, this Units value serves to distinguish String instrumentation objects from instrumentation objects of other types. | |
| TICKS | back to summary |
|---|---|
| public static final Units TICKS Units attribute representing Ticks. | |
| value | back to summary |
|---|---|
| private final int value | |
| Units | back to summary |
|---|---|
| private Units(String name, int value) | |
| intValue | back to summary |
|---|---|
| public int intValue() Returns the integer representation of this Units attribute
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Returns a string describing this Unit of measurement attribute
| |
| toUnits | back to summary |
|---|---|
| public static Units toUnits(int value) Maps an integer value to its corresponding Units attribute.
If the integer value does not have a corresponding Units enum
value, then
| |