setNumRecordsScraped

session.setNumRecordsScraped( Object value ) (enterprise edition only)
Description
Sets the number of records that have currently been scraped. This method is used in conjunction with record thresholds in the Enterprise edition. The value parameter can be either an int, an Integer or a String. See also the addToNumRecordsScraped and getNumRecordsScraped methods.
Example
// Sets the value of the number of records scraped to 10.
session.setNumRecordsScraped( 10 );