Package io.ably.lib.util
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 intgetRetryTime(int timeout, int count)Spec: RTB1
-
Constructor Details
-
TimerUtil
public TimerUtil()
-
-
Method Details
-
getRetryTime
public static int getRetryTime(int timeout, int count)Spec: RTB1- Parameters:
timeout- The initial timeout valuecount- The retry count- Returns:
- The overall retry time calculation
-