类 StartupTimeline.TimelineEvent

java.lang.Object
org.springframework.boot.context.metrics.buffering.StartupTimeline.TimelineEvent
封闭类:
StartupTimeline

public static class StartupTimeline.TimelineEvent extends Object
Event on the current StartupTimeline. Each event has a start/end time, a precise duration and the complete StartupStep information associated with it.
  • 方法详细资料

    • getStartTime

      public Instant getStartTime()
      Return the start time of this event.
      返回:
      the start time
    • getEndTime

      public Instant getEndTime()
      Return the end time of this event.
      返回:
      the end time
    • getDuration

      public Duration getDuration()
      Return the duration of this event, i.e. the processing time of the associated StartupStep with nanoseconds precision.
      返回:
      the event duration
    • getStartupStep

      public StartupStep getStartupStep()
      Return the StartupStep information for this event.
      返回:
      the step information.