Class TimeoutIndicator


  • public class TimeoutIndicator
    extends java.lang.Object
    Used to convey information about an expired timeout
    • Constructor Detail

      • TimeoutIndicator

        public TimeoutIndicator​(TimeoutIndicator.TimeoutStatus status,
                                java.time.Duration thresholdValue,
                                java.time.Duration expiredValue)
        Parameters:
        status - The expired timeout type (if any)
        thresholdValue - The configured timeout value
        expiredValue - The actual value that cause the timeout
    • Method Detail

      • getThresholdValue

        public java.time.Duration getThresholdValue()
      • getExpiredValue

        public java.time.Duration getExpiredValue()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object