calculates the time interval to a retry attempt . the interval increases exponentially with each attempt , at a rate of nextinterval = 1.5 where 1.5 is the backoff factor , to the maximum interval . concode_field_sep int maxAttempts concode_elem_sep long period concode_elem_sep long maxPeriod concode_elem_sep int attempt concode_elem_sep long sleptForMillis concode_field_sep void continueOrPropagate concode_elem_sep void continueOrPropagate concode_elem_sep long currentTimeMillis concode_elem_sep Retryer clone concode_elem_sep Retryer clone
long function ( ) { long loc0 = ( long ) ( period * Math . pow ( 1.5 , attempt - 1 ) ) ; return loc0 > maxPeriod ? maxPeriod : loc0 ; }