computes a new sleep for a retry of a condition check . concode_field_sep Function<Void,T> actual concode_elem_sep Logger log concode_elem_sep Optional<Long> maxSleepMs concode_elem_sep Optional<Double> backoffFactor concode_elem_sep Predicate<T> eqToExpected concode_elem_sep long timeoutMs concode_elem_sep String message concode_field_sep AssertWithBackoff backoffFactor concode_elem_sep long getAutoMaxSleep concode_elem_sep boolean apply concode_elem_sep AssertWithBackoff logger concode_elem_sep Logger getLogger concode_elem_sep void assertEquals concode_elem_sep long getTimeoutMs concode_elem_sep double getBackoffFactor concode_elem_sep void assertTrue concode_elem_sep void assertTrue concode_elem_sep AssertWithBackoff timeoutMs concode_elem_sep AssertWithBackoff maxSleepMs concode_elem_sep double getAutoBackoffFactor concode_elem_sep AssertWithBackoff create concode_elem_sep long getMaxSleepMs
long function ( long arg0 , double arg1 , long arg2 , long arg3 ) { long loc0 = Math . round ( arg0 * arg1 ) ; if ( loc0 <= arg0 ) { loc0 = arg0 + 1 ; } long loc1 = System . currentTimeMillis ( ) ; loc0 = Math . min ( Math . min ( loc0 , arg2 ) , arg3 - loc1 ) ; return loc0 ; }