getTimeout
int runnableScrapingSession.getTimeout ( ) (professional and enterprise editions only)
Description
Get the timeout of the session in the runnableScrapingSession.
Parameters
This method does not receive any parameters.
Return Values
Returns a integer representing the timeout length in minutes.
Change Log
Version |
Description |
4.5 |
Available for professional and enterprise editions. |
Examples
Write Timeout to Log
runnableScrapingSession = new com.screenscraper.scraper.RunnableScrapingSession( "My Session" );
// Outputs the value of the timeout of the runnable scraping session
// to the log.
session.log( "Session timeout: " + runnableScrapingSession.getTimeout() );
See Also