setDoLazyScrape

runnableScrapingSession.setDoLazyScrape( boolean doLazyScrape )
Description
Indicates whether or not the scraping session should run concurrently (at the same time as) other scraping sessions. Note that we recommend not setting this value to "false" when running scraping sessions in the workbench as it will cause the interface to freeze up until sessions have completed. If you'd like to run multiple scraping sessions serially (one after another), the best option is to set the "Maximum number of concurrent running scraping sessions" to "1" in the "Settings" window.
Example
// Indicates that the runnable scraping session should not be run
// in a separate thread.
runnableScrapingSession.setDoLazyScrape( false );