Class StartupTimeline.TimelineEvent
java.lang.Object
org.springframework.boot.context.metrics.buffering.StartupTimeline.TimelineEvent
- Enclosing class:
- StartupTimeline
Event on the current
StartupTimeline
. Each event has a start/end time, a
precise duration and the complete StartupStep
information associated with
it.-
Method Summary
Modifier and TypeMethodDescriptionReturn the duration of this event, i.e.Return the end time of this event.Return the start time of this event.Return theStartupStep
information for this event.
-
Method Details
-
getStartTime
Return the start time of this event.- Returns:
- the start time
-
getEndTime
Return the end time of this event.- Returns:
- the end time
-
getDuration
Return the duration of this event, i.e. the processing time of the associatedStartupStep
with nanoseconds precision.- Returns:
- the event duration
-
getStartupStep
Return theStartupStep
information for this event.- Returns:
- the step information.
-