SQL Statements and Extensions for the Salesforce Driver : Create Cache (EXT) : Call Limit Clause

Call Limit Clause
Purpose
The Call Limit clause specifies the maximum number of Web service calls that can be used to populate or refresh the cache; it is optional.
Syntax
[CALL_LIMIT {0 | -1 | max_calls}]
where:
0
Specifies no call limit.
-1
Resets the call limit back to its default, which is 0 (no call limit).
max_calls
Is a positive integer that specifies the maximum number of Web service calls.
The default value is 0.
Notes
If the call limit of a cache is exceeded during the population or refresh of the cache, the cache is marked as partially initialized. At the next refresh opportunity, the driver attempts to complete the population or refresh of the cache. If the call limit (or other error) occurs during this second attempt, the cache becomes invalid and is disabled. All data in the cache is discarded after the second attempt to populate or refresh the cache fails. Before re-enabling the cache, consider altering the cache definition to allow more Web service calls or specify a more restrictive filter, or both.

© 2013 Progress Software Corporation and/or its subsidiaries or affiliates.