Event field annotation, specifies that the value is a duration.
- Since:
- 9
-
Optional Element Summary
Optional Elements
Returns the unit of measure for the time span.
-
-
Field Details
-
TICKS
Unit for ticks.
- See Also:
-
-
SECONDS
Unit for seconds.
- See Also:
-
-
MILLISECONDS
static final String MILLISECONDS
Unit for milliseconds.
- See Also:
-
-
NANOSECONDS
static final String NANOSECONDS
Unit for nanoseconds.
- See Also:
-
-
MICROSECONDS
static final String MICROSECONDS
Unit for microseconds.
- See Also:
-
-
Element Details
-
value
Returns the unit of measure for the time span.
By default, the unit is nanoseconds.
- Returns:
- the time span unit, default
NANOSECONDS
, not null
- Default:
- "NANOSECONDS"