PDA

View Full Version : Infinite retries



Nishchal
04-26-2009, 08:26 AM
I am using the Java client APIs with the 11.6 version of the toolkit.

I noticed that we can use the setRetryLimit of the Heartbeat interface, to set the limit on retries which happen on license server connectivity failure. Can we set the parameter in such a way that retries happen forever? I currently see no such option.

However the C\C++ APIs do provide such an option.

RobertDickau
04-30-2009, 10:45 AM
Correct, there's no "infinite retry" flag as there is in the native FNP toolkit. Depending on what you're trying to do, perhaps look into manual heartbeats? Or use Integer.MAX_VALUE as the max-retries value, which (with default settings) will last thousands of years?