Interface SlaInformationOngoingCycle


@PublicApi public interface SlaInformationOngoingCycle
Information about the ongoing cycle of a Service Level Agreement
  • Method Details

    • getStartTime

      Instant getStartTime()
      Returns:
      the instant in time that the cycle started
    • getBreachTime

      Optional<Instant> getBreachTime()
      Returns:
      the instant in time that the SLA breached or will breach
    • getBreached

      boolean getBreached()
      Returns:
      true if the SLA has breached
    • getPaused

      boolean getPaused()
      Returns:
      true if the SLA cycle is currently paused
    • getWithinCalendarHours

      boolean getWithinCalendarHours()
      Returns:
      true if the SLA cycle is currently within calendar hours
    • getGoalDuration

      Long getGoalDuration()
      Returns:
      the duration in milliseconds of the SLA goal
    • getElapsedTime

      Long getElapsedTime()
      Returns:
      the number of milliseconds the SLA has been running
    • getRemainingTime

      Long getRemainingTime()
      Returns:
      the number of milliseconds remaining on the SLA before it breaches (if it is running)