question: private boolean tryRemoteDownload ( ) { if ( System . currentTimeMillis ( ) < expireTime ) { tryRepoCnt ++ ; return tryRepoCnt <= MAX_REPO_RETRIES ; } else { expireTime = System . currentTimeMillis ( ) + TIMEOUT_INTERVAL ; tryRepoCnt = 1 ; return true ; } }
target:  Method used to try remote download if the method is called the first time, since expireTime is initialized as 0, set expireTime to Now() + 5 mins and set counter to 1. if current time is less than expireTime, increment counter and return true if counter not greater than maximal try count if current time is not less than expireTime, reset timer and set counter to 1