Class TimerUtil

java.lang.Object
io.ably.lib.util.TimerUtil

public class TimerUtil
extends java.lang.Object
  • Constructor Summary

    Constructors 
    Constructor Description
    TimerUtil()  
  • Method Summary

    Modifier and Type Method Description
    static int getRetryTime​(int timeout, int count)
    Spec: RTB1

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getRetryTime

      public static int getRetryTime​(int timeout, int count)
      Spec: RTB1
      Parameters:
      timeout - The initial timeout value
      count - The retry count
      Returns:
      The overall retry time calculation