tries to run the given callable the predefined number of timesbefore throwing an ioexception . this method will only retries calls ending in sqlexception . other exceptions will cause a runtimeexception . additionally the user can supply a second callable which will be executed every time the first callable throws a sqlexception . concode_field_sep int SLEEP_TIME concode_elem_sep Logger LOG concode_elem_sep Random rnd concode_elem_sep long serialVersionUID concode_field_sep void handleSQLException
X function ( Callable < X > arg0 , Callable < Y > arg1 , int arg2 ) { return retry ( arg0 , arg1 , arg2 , SLEEP_TIME ) ; }