Class MonitoringEventListener.TimeStats

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private long duration  
      private long startTime  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private TimeStats​(long startTime, long requestDuration)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) long getDuration()
      Get duration.
      (package private) long getStartTime()
      Get start time.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • duration

        private final long duration
      • startTime

        private final long startTime
    • Constructor Detail

      • TimeStats

        private TimeStats​(long startTime,
                          long requestDuration)
    • Method Detail

      • getDuration

        long getDuration()
        Get duration.
        Returns:
        Duration in milliseconds.
      • getStartTime

        long getStartTime()
        Get start time.
        Returns:
        Start time (Unix timestamp format).