Event field annotation, specifies that the value is a duration.
If the annotated value equals Long.MAX_VALUE
, it represents forever.
- Since:
- 9
-
Field Details
-
TICKS
Unit for ticks.- See Also:
-
SECONDS
Unit for seconds.- See Also:
-
MILLISECONDS
Unit for milliseconds.- See Also:
-
NANOSECONDS
Unit for nanoseconds.- See Also:
-
MICROSECONDS
Unit for microseconds.- See Also:
-
-
Element Details
-
value
String valueReturns the unit of measure for the time span.By default, the unit is nanoseconds.
- Returns:
- the time span unit, default
NANOSECONDS
, notnull
- Default:
"NANOSECONDS"
-