{"action":"opened","number":10,"pull_request":{"url":"https://api.github.com/repos/AigeStudio/MultiThreadDownloader/pulls/10","id":47494287,"html_url":"https://github.com/AigeStudio/MultiThreadDownloader/pull/10","diff_url":"https://github.com/AigeStudio/MultiThreadDownloader/pull/10.diff","patch_url":"https://github.com/AigeStudio/MultiThreadDownloader/pull/10.patch","issue_url":"https://api.github.com/repos/AigeStudio/MultiThreadDownloader/issues/10","number":10,"state":"open","locked":false,"title":"Bugfix：修改多次触发任务时的并发问题，防止同时触发多个相同的下载任务；修改任务队列为线程安全模式；","user":{"login":"kxdd2002","id":2505566,"avatar_url":"https://avatars.githubusercontent.com/u/2505566?v=3","gravatar_id":"","url":"https://api.github.com/users/kxdd2002","html_url":"https://github.com/kxdd2002","followers_url":"https://api.github.com/users/kxdd2002/followers","following_url":"https://api.github.com/users/kxdd2002/following{/other_user}","gists_url":"https://api.github.com/users/kxdd2002/gists{/gist_id}","starred_url":"https://api.github.com/users/kxdd2002/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kxdd2002/subscriptions","organizations_url":"https://api.github.com/users/kxdd2002/orgs","repos_url":"https://api.github.com/users/kxdd2002/repos","events_url":"https://api.github.com/users/kxdd2002/events{/privacy}","received_events_url":"https://api.github.com/users/kxdd2002/received_events","type":"User","site_admin":false},"body":" *         修改多线程任务的线程数量设置机制，每个任务可以自定义设置下载线程数量；通过同构方法dlStart(String url, String dirPath, DLTaskListener listener,int threadNum)；\r\n *         添加日志开关及日志记录，开关方法为setDebugEnable，日志TAG为DLManager；方便调试;","created_at":"2015-10-13T06:08:18Z","updated_at":"2015-10-13T06:08:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/AigeStudio/MultiThreadDownloader/pulls/10/commits","review_comments_url":"https://api.github.com/repos/AigeStudio/MultiThreadDownloader/pulls/10/comments","review_comment_url":"https://api.github.com/repos/AigeStudio/MultiThreadDownloader/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AigeStudio/MultiThreadDownloader/issues/10/comments","statuses_url":"https://api.github.com/repos/AigeStudio/MultiThreadDownloader/statuses/933943f94750f4d5c63b6a9037dd50245e1232da","head":{"label":"kxdd2002:master","ref":"master","sha":"933943f94750f4d5c63b6a9037dd50245e1232da","user":{"login":"kxdd2002","id":2505566,"avatar_url":"https://avatars.githubusercontent.com/u/2505566?v=3","gravatar_id":"","url":"https://api.github.com/users/kxdd2002","html_url":"https://github.com/kxdd2002","followers_url":"https://api.github.com/users/kxdd2002/followers","following_url":"https://api.github.com/users/kxdd2002/following{/other_user}","gists_url":"https://api.github.com/users/kxdd2002/gists{/gist_id}","starred_url":"https://api.github.com/users/kxdd2002/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kxdd2002/subscriptions","organizations_url":"https://api.github.com/users/kxdd2002/orgs","repos_url":"https://api.github.com/users/kxdd2002/repos","events_url":"https://api.github.com/users/kxdd2002/events{/privacy}","received_events_url":"https://api.github.com/users/kxdd2002/received_events","type":"User","site_admin":false},"repo":{"id":44080825,"name":"MultiThreadDownloader","full_name":"kxdd2002/MultiThreadDownloader","owner":{"login":"kxdd2002","id":2505566,"avatar_url":"https://avatars.githubusercontent.com/u/2505566?v=3","gravatar_id":"","url":"https://api.github.com/users/kxdd2002","html_url":"https://github.com/kxdd2002","followers_url":"https://api.github.com/users/kxdd2002/followers","following_url":"https://api.github.com/users/kxdd2002/following{/other_user}","gists_url":"https://api.github.com/users/kxdd2002/gists{/gist_id}","starred_url":"https://api.github.com/users/kxdd2002/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kxdd2002/subscriptions","organizations_url":"https://api.github.com/users/kxdd2002/orgs","repos_url":"https://api.github.com/users/kxdd2002/repos","events_url":"https://api.github.com/users/kxdd2002/events{/privacy}","received_events_url":"https://api.github.com/users/kxdd2002/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kxdd2002/MultiThreadDownloader","description":"A useful Downloader for Andorid implement multi thread and break-point download.","fork":true,"url":"https://api.github.com/repos/kxdd2002/MultiThreadDownloader","forks_url":"https://api.github.com/repos/kxdd2002/MultiThreadDownloader/forks","keys_url":"https://api.github.com/repos/kxdd2002/MultiThreadDownloader/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kxdd2002/MultiThreadDownloader/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kxdd2002/MultiThreadDownloader/teams","hooks_url":"https://api.github.com/repos/kxdd2002/MultiThreadDownloader/hooks","issue_events_url":"https://api.github.com/repos/kxdd2002/MultiThreadDownloader/issues/events{/number}","events_url":"https://api.github.com/repos/kxdd2002/MultiThreadDownloader/events","assignees_url":"https://api.github.com/repos/kxdd2002/MultiThreadDownloader/assignees{/user}","branches_url":"https://api.github.com/repos/kxdd2002/MultiThreadDownloader/branches{/branch}","tags_url":"https://api.github.com/repos/kxdd2002/MultiThreadDownloader/tags","blobs_url":"https://api.github.com/repos/kxdd2002/MultiThreadDownloader/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kxdd2002/MultiThreadDownloader/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kxdd2002/MultiThreadDownloader/git/refs{/sha}","trees_url":"https://api.github.com/repos/kxdd2002/MultiThreadDownloader/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kxdd2002/MultiThreadDownloader/statuses/{sha}","languages_url":"https://api.github.com/repos/kxdd2002/MultiThreadDownloader/languages","stargazers_url":"https://api.github.com/repos/kxdd2002/MultiThreadDownloader/stargazers","contributors_url":"https://api.github.com/repos/kxdd2002/MultiThreadDownloader/contributors","subscribers_url":"https://api.github.com/repos/kxdd2002/MultiThreadDownloader/subscribers","subscription_url":"https://api.github.com/repos/kxdd2002/MultiThreadDownloader/subscription","commits_url":"https://api.github.com/repos/kxdd2002/MultiThreadDownloader/commits{/sha}","git_commits_url":"https://api.github.com/repos/kxdd2002/MultiThreadDownloader/git/commits{/sha}","comments_url":"https://api.github.com/repos/kxdd2002/MultiThreadDownloader/comments{/number}","issue_comment_url":"https://api.github.com/repos/kxdd2002/MultiThreadDownloader/issues/comments{/number}","contents_url":"https://api.github.com/repos/kxdd2002/MultiThreadDownloader/contents/{+path}","compare_url":"https://api.github.com/repos/kxdd2002/MultiThreadDownloader/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kxdd2002/MultiThreadDownloader/merges","archive_url":"https://api.github.com/repos/kxdd2002/MultiThreadDownloader/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kxdd2002/MultiThreadDownloader/downloads","issues_url":"https://api.github.com/repos/kxdd2002/MultiThreadDownloader/issues{/number}","pulls_url":"https://api.github.com/repos/kxdd2002/MultiThreadDownloader/pulls{/number}","milestones_url":"https://api.github.com/repos/kxdd2002/MultiThreadDownloader/milestones{/number}","notifications_url":"https://api.github.com/repos/kxdd2002/MultiThreadDownloader/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kxdd2002/MultiThreadDownloader/labels{/name}","releases_url":"https://api.github.com/repos/kxdd2002/MultiThreadDownloader/releases{/id}","created_at":"2015-10-12T02:58:47Z","updated_at":"2015-10-12T02:58:48Z","pushed_at":"2015-10-13T06:06:56Z","git_url":"git://github.com/kxdd2002/MultiThreadDownloader.git","ssh_url":"git@github.com:kxdd2002/MultiThreadDownloader.git","clone_url":"https://github.com/kxdd2002/MultiThreadDownloader.git","svn_url":"https://github.com/kxdd2002/MultiThreadDownloader","homepage":null,"size":3735,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"AigeStudio:master","ref":"master","sha":"14e3f49deb1d5f606add2fb0c8d5844b40ab6b6f","user":{"login":"AigeStudio","id":8503732,"avatar_url":"https://avatars.githubusercontent.com/u/8503732?v=3","gravatar_id":"","url":"https://api.github.com/users/AigeStudio","html_url":"https://github.com/AigeStudio","followers_url":"https://api.github.com/users/AigeStudio/followers","following_url":"https://api.github.com/users/AigeStudio/following{/other_user}","gists_url":"https://api.github.com/users/AigeStudio/gists{/gist_id}","starred_url":"https://api.github.com/users/AigeStudio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AigeStudio/subscriptions","organizations_url":"https://api.github.com/users/AigeStudio/orgs","repos_url":"https://api.github.com/users/AigeStudio/repos","events_url":"https://api.github.com/users/AigeStudio/events{/privacy}","received_events_url":"https://api.github.com/users/AigeStudio/received_events","type":"User","site_admin":false},"repo":{"id":35923428,"name":"MultiThreadDownloader","full_name":"AigeStudio/MultiThreadDownloader","owner":{"login":"AigeStudio","id":8503732,"avatar_url":"https://avatars.githubusercontent.com/u/8503732?v=3","gravatar_id":"","url":"https://api.github.com/users/AigeStudio","html_url":"https://github.com/AigeStudio","followers_url":"https://api.github.com/users/AigeStudio/followers","following_url":"https://api.github.com/users/AigeStudio/following{/other_user}","gists_url":"https://api.github.com/users/AigeStudio/gists{/gist_id}","starred_url":"https://api.github.com/users/AigeStudio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AigeStudio/subscriptions","organizations_url":"https://api.github.com/users/AigeStudio/orgs","repos_url":"https://api.github.com/users/AigeStudio/repos","events_url":"https://api.github.com/users/AigeStudio/events{/privacy}","received_events_url":"https://api.github.com/users/AigeStudio/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AigeStudio/MultiThreadDownloader","description":"A useful Downloader for Andorid implement multi thread and break-point download.","fork":false,"url":"https://api.github.com/repos/AigeStudio/MultiThreadDownloader","forks_url":"https://api.github.com/repos/AigeStudio/MultiThreadDownloader/forks","keys_url":"https://api.github.com/repos/AigeStudio/MultiThreadDownloader/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AigeStudio/MultiThreadDownloader/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AigeStudio/MultiThreadDownloader/teams","hooks_url":"https://api.github.com/repos/AigeStudio/MultiThreadDownloader/hooks","issue_events_url":"https://api.github.com/repos/AigeStudio/MultiThreadDownloader/issues/events{/number}","events_url":"https://api.github.com/repos/AigeStudio/MultiThreadDownloader/events","assignees_url":"https://api.github.com/repos/AigeStudio/MultiThreadDownloader/assignees{/user}","branches_url":"https://api.github.com/repos/AigeStudio/MultiThreadDownloader/branches{/branch}","tags_url":"https://api.github.com/repos/AigeStudio/MultiThreadDownloader/tags","blobs_url":"https://api.github.com/repos/AigeStudio/MultiThreadDownloader/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AigeStudio/MultiThreadDownloader/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AigeStudio/MultiThreadDownloader/git/refs{/sha}","trees_url":"https://api.github.com/repos/AigeStudio/MultiThreadDownloader/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AigeStudio/MultiThreadDownloader/statuses/{sha}","languages_url":"https://api.github.com/repos/AigeStudio/MultiThreadDownloader/languages","stargazers_url":"https://api.github.com/repos/AigeStudio/MultiThreadDownloader/stargazers","contributors_url":"https://api.github.com/repos/AigeStudio/MultiThreadDownloader/contributors","subscribers_url":"https://api.github.com/repos/AigeStudio/MultiThreadDownloader/subscribers","subscription_url":"https://api.github.com/repos/AigeStudio/MultiThreadDownloader/subscription","commits_url":"https://api.github.com/repos/AigeStudio/MultiThreadDownloader/commits{/sha}","git_commits_url":"https://api.github.com/repos/AigeStudio/MultiThreadDownloader/git/commits{/sha}","comments_url":"https://api.github.com/repos/AigeStudio/MultiThreadDownloader/comments{/number}","issue_comment_url":"https://api.github.com/repos/AigeStudio/MultiThreadDownloader/issues/comments{/number}","contents_url":"https://api.github.com/repos/AigeStudio/MultiThreadDownloader/contents/{+path}","compare_url":"https://api.github.com/repos/AigeStudio/MultiThreadDownloader/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AigeStudio/MultiThreadDownloader/merges","archive_url":"https://api.github.com/repos/AigeStudio/MultiThreadDownloader/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AigeStudio/MultiThreadDownloader/downloads","issues_url":"https://api.github.com/repos/AigeStudio/MultiThreadDownloader/issues{/number}","pulls_url":"https://api.github.com/repos/AigeStudio/MultiThreadDownloader/pulls{/number}","milestones_url":"https://api.github.com/repos/AigeStudio/MultiThreadDownloader/milestones{/number}","notifications_url":"https://api.github.com/repos/AigeStudio/MultiThreadDownloader/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AigeStudio/MultiThreadDownloader/labels{/name}","releases_url":"https://api.github.com/repos/AigeStudio/MultiThreadDownloader/releases{/id}","created_at":"2015-05-20T03:25:20Z","updated_at":"2015-10-13T05:35:30Z","pushed_at":"2015-10-12T13:40:38Z","git_url":"git://github.com/AigeStudio/MultiThreadDownloader.git","ssh_url":"git@github.com:AigeStudio/MultiThreadDownloader.git","clone_url":"https://github.com/AigeStudio/MultiThreadDownloader.git","svn_url":"https://github.com/AigeStudio/MultiThreadDownloader","homepage":null,"size":4067,"stargazers_count":454,"watchers_count":454,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":128,"mirror_url":null,"open_issues_count":8,"forks":128,"open_issues":8,"watchers":454,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AigeStudio/MultiThreadDownloader/pulls/10"},"html":{"href":"https://github.com/AigeStudio/MultiThreadDownloader/pull/10"},"issue":{"href":"https://api.github.com/repos/AigeStudio/MultiThreadDownloader/issues/10"},"comments":{"href":"https://api.github.com/repos/AigeStudio/MultiThreadDownloader/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/AigeStudio/MultiThreadDownloader/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/AigeStudio/MultiThreadDownloader/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AigeStudio/MultiThreadDownloader/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/AigeStudio/MultiThreadDownloader/statuses/933943f94750f4d5c63b6a9037dd50245e1232da"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":96,"deletions":14,"changed_files":2}}