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() );
// Outputs the value of the timeout of the runnable scraping session
// to the log.
session.log( "Session timeout: " + runnableScrapingSession.getTimeout() );
See Also
- setTimeout() [RunnableScrapingSession] - Sets the timeout
scraper on 07/16/2010 at 4:56 pm
- Printer-friendly version
- Login or register to post comments