getNumRunnableScrapingSessions
int sutil.getNumRunnableScrapingSessions ( ) (enterprise edition only)
Description
Get the number of runnable scraping sessions.
Parameters
This method does not receive any parameters.
Return Values
Returns the number of scraping sessions in this instance of screen-scraper, as a integer.
Change Log
Version | Description |
---|---|
5.0 | Added for all editions. |
Examples
Get the Number of Runnable Scrapes
// Write the number of running scrapes to the log
session.log( "Number of Runnable Scrapes: " + sutil.getNumRunnableScrapingSessions() );
session.log( "Number of Runnable Scrapes: " + sutil.getNumRunnableScrapingSessions() );
scraper on 07/16/2010 at 5:21 pm
- Printer-friendly version
- Login or register to post comments