This week's book giveaway is in the Open Source forum.
We're giving away four copies of Programmers Guide to Apache Thrift and have Randy Abernethy on-line!
See this thread for details.
Win a copy of Programmers Guide to Apache Thrift this week in the Open Source forum!

Cosmin Simon

Greenhorn
+ Follow
since Jun 12, 2019
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Cosmin Simon

Hello,

I've managed to implement the retry mechanism.
I'm interested if it's possible to change the backoff time depending on the exception.

For example if I get an OptimisticLockException I would like to wait like 3 seconds.
But if I get a UnknownHostException I would like to wait a minute or more before the next retry.

Best regards,
Cosmin
3 days ago