getDefaultRetryPolicy
RetryPolicy session.getDefaultRetryPolicy ( ) (professional and enterprise editions only)
Description
Gets the default retry policy to be used by each scrapeable file when one wasn't set for it.
Parameters
This method takes no parameters
Return Value
The default return policy, or null if there isn't one
Change Log
Version | Description |
---|---|
5.5.29a | Available in professional and enterprise editions. |
Examples
Check for a default RetryPolicy
if(session.getDefaultRetryPolicy() == null)
{
session.logWarn("No default retry policy specified");
}
{
session.logWarn("No default retry policy specified");
}
mikes on 11/21/2011 at 3:04 pm
- Printer-friendly version
- Login or register to post comments