public boolean setMaxNetworkThreadCount ( final int count ) { if ( ! FileDownloadList . getImpl ( ) . isEmpty ( ) ) { FileDownloadLog . w ( this , "Can't change the max network thread count, because there " + "are actively executing tasks in FileDownloader, please try again after all" + " actively executing tasks are completed or invoking FileDownloader#pauseAll" + " directly." ) ; return false ; } return FileDownloadServiceProxy . getImpl ( ) . setMaxNetworkThreadCount ( count ) ; }
Set the maximum count of the network thread what is the number of simultaneous downloads in FileDownloader .