public void setMaxBrowserInstances ( String browserName , int maxBrowserInstances ) { logger . entering ( new Object [ ] { browserName , maxBrowserInstances } ) ; validateBrowserName ( browserName ) ; BrowserStatistics lStatistics = createStatisticsIfNotPresent ( browserName ) ; lStatistics . setMaxBrowserInstances ( maxBrowserInstances ) ; logger . exiting ( ) ; }
Sets the maximum instances for a particular browser . This call creates a unique statistics for the provided browser name it does not exists .