Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- try{
- amazonDynamoAsyncDb.updateItemAsync(updateRequest)
- }catch{
- case e: ThrottlingException => {
- Thread.sleep(1000)
- //retry here, but how?
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement