Class ResponseTimeMonitor.Data

All Implemented Interfaces:
Serializable
Enclosing class:
ResponseTimeMonitor

@ExportedBean public static final class ResponseTimeMonitor.Data extends MonitorOfflineCause implements Serializable
Immutable representation of the monitoring data.
See Also:
  • Method Details

    • getAverage

      @Exported public long getAverage()
      Computes the average response time, by taking the time out into account.
    • hasTooManyTimeouts

      public boolean hasTooManyTimeouts()
    • toString

      public String toString()
      String rendering of the data
      Overrides:
      toString in class Object
    • getTrigger

      public Class<? extends NodeMonitor> getTrigger()
      Description copied from class: MonitorOfflineCause
      Identify monitor implementation that put computer offline.
      Specified by:
      getTrigger in class MonitorOfflineCause