private InvocationConstraints createInvocationConstraints(){
  if (MIN_RETRY >= sleepTime[tryIndx]) {
    return new InvocationConstraints(new ConnectionAbsoluteTime(System.currentTimeMillis() + sleepTime[tryIndx]),null);
  }
 else {
    return InvocationConstraints.EMPTY;
  }
}

private InvocationConstraints createInvocationConstraints ( ) { if ( MIN_RETRY >= sleepTime [ tryIndx ] ) { return new InvocationConstraints ( new ConnectionAbsoluteTime ( System . currentTimeMillis ( ) + sleepTime [ tryIndx ] ) , null ) ; } else { return InvocationConstraints . EMPTY ; } }
create the invocationconstraints with connection absolute time based on an increasing retry . when all retries are exhausted , return the invocationconstraints . empty . invocationconstraints . empty is interpreted as an infinite timeout . the connection will then block until established or an error occurs .
