Class TimeoutSettings


  • public final class TimeoutSettings
    extends java.lang.Object
    • Constructor Detail

      • TimeoutSettings

        public TimeoutSettings​(scala.concurrent.duration.FiniteDuration heartbeatInterval,
                               scala.concurrent.duration.FiniteDuration heartbeatTimeout,
                               scala.concurrent.duration.FiniteDuration operationTimeout)
    • Method Detail

      • apply

        public static TimeoutSettings apply​(com.typesafe.config.Config config)
      • heartbeatInterval

        public scala.concurrent.duration.FiniteDuration heartbeatInterval()
      • heartbeatTimeout

        public scala.concurrent.duration.FiniteDuration heartbeatTimeout()
      • operationTimeout

        public scala.concurrent.duration.FiniteDuration operationTimeout()
      • getHeartbeatInterval

        public java.time.Duration getHeartbeatInterval()
        Java API
      • getHeartbeatTimeout

        public java.time.Duration getHeartbeatTimeout()
        Java API
      • getOperationTimeout

        public java.time.Duration getOperationTimeout()
        Java API
      • withHeartbeatInterval

        public TimeoutSettings withHeartbeatInterval​(java.time.Duration heartbeatInterval)
        Java API
      • withHeartbeatTimeout

        public TimeoutSettings withHeartbeatTimeout​(java.time.Duration heartbeatTimeout)
        Java API
      • withOperationTimeout

        public TimeoutSettings withOperationTimeout​(java.time.Duration operationTimeout)
        Java API
      • withHeartbeatInterval

        public TimeoutSettings withHeartbeatInterval​(scala.concurrent.duration.FiniteDuration heartbeatInterval)
      • withHeartbeatTimeout

        public TimeoutSettings withHeartbeatTimeout​(scala.concurrent.duration.FiniteDuration heartbeatTimeout)
      • withOperationTimeout

        public TimeoutSettings withOperationTimeout​(scala.concurrent.duration.FiniteDuration operationTimeout)
      • toString

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