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 theStartupStepinformation 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 associatedStartupStepwith nanoseconds precision.- Returns:
- the event duration
-
getStartupStep
Return theStartupStepinformation for this event.- Returns:
- the step information.
-