{"action":"created","comment":{"url":"https://api.github.com/repos/lithiumtech/rdbi/pulls/comments/47148986","id":47148986,"diff_hunk":"@@ -0,0 +1,100 @@\n+package com.lithium.dbi.rdbi.recipes.scheduler;\n+\n+import com.lithium.dbi.rdbi.Handle;\n+import com.lithium.dbi.rdbi.RDBI;\n+import org.joda.time.Instant;\n+\n+import java.util.List;\n+\n+/**\n+ * Similar to ExclusiveJobScheduler. Main difference is that jobs are de-duplicates by state.","path":"src/main/java/com/lithium/dbi/rdbi/recipes/scheduler/DedupJobScheduler.java","position":10,"original_position":10,"commit_id":"a90b9b561261d3593d7bbf82a39f76d8cf15ff8b","original_commit_id":"a90b9b561261d3593d7bbf82a39f76d8cf15ff8b","user":{"login":"matthewbogner","id":719204,"avatar_url":"https://avatars.githubusercontent.com/u/719204?v=3","gravatar_id":"","url":"https://api.github.com/users/matthewbogner","html_url":"https://github.com/matthewbogner","followers_url":"https://api.github.com/users/matthewbogner/followers","following_url":"https://api.github.com/users/matthewbogner/following{/other_user}","gists_url":"https://api.github.com/users/matthewbogner/gists{/gist_id}","starred_url":"https://api.github.com/users/matthewbogner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthewbogner/subscriptions","organizations_url":"https://api.github.com/users/matthewbogner/orgs","repos_url":"https://api.github.com/users/matthewbogner/repos","events_url":"https://api.github.com/users/matthewbogner/events{/privacy}","received_events_url":"https://api.github.com/users/matthewbogner/received_events","type":"User","site_admin":false},"body":"typo: de-duplicates => de-duplicated.","created_at":"2015-12-09T20:44:37Z","updated_at":"2015-12-09T20:44:37Z","html_url":"https://github.com/lithiumtech/rdbi/pull/37#discussion_r47148986","pull_request_url":"https://api.github.com/repos/lithiumtech/rdbi/pulls/37","_links":{"self":{"href":"https://api.github.com/repos/lithiumtech/rdbi/pulls/comments/47148986"},"html":{"href":"https://github.com/lithiumtech/rdbi/pull/37#discussion_r47148986"},"pull_request":{"href":"https://api.github.com/repos/lithiumtech/rdbi/pulls/37"}}},"pull_request":{"url":"https://api.github.com/repos/lithiumtech/rdbi/pulls/37","id":53164336,"html_url":"https://github.com/lithiumtech/rdbi/pull/37","diff_url":"https://github.com/lithiumtech/rdbi/pull/37.diff","patch_url":"https://github.com/lithiumtech/rdbi/pull/37.patch","issue_url":"https://api.github.com/repos/lithiumtech/rdbi/issues/37","number":37,"state":"open","locked":false,"title":"LSTN-305 Implemented DedupJobScheduler","user":{"login":"kumarad","id":5852293,"avatar_url":"https://avatars.githubusercontent.com/u/5852293?v=3","gravatar_id":"","url":"https://api.github.com/users/kumarad","html_url":"https://github.com/kumarad","followers_url":"https://api.github.com/users/kumarad/followers","following_url":"https://api.github.com/users/kumarad/following{/other_user}","gists_url":"https://api.github.com/users/kumarad/gists{/gist_id}","starred_url":"https://api.github.com/users/kumarad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kumarad/subscriptions","organizations_url":"https://api.github.com/users/kumarad/orgs","repos_url":"https://api.github.com/users/kumarad/repos","events_url":"https://api.github.com/users/kumarad/events{/privacy}","received_events_url":"https://api.github.com/users/kumarad/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-12-09T19:15:09Z","updated_at":"2015-12-09T20:44:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e2e508c2a8877757ebdb99a7fddc888254bd7e37","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/lithiumtech/rdbi/pulls/37/commits","review_comments_url":"https://api.github.com/repos/lithiumtech/rdbi/pulls/37/comments","review_comment_url":"https://api.github.com/repos/lithiumtech/rdbi/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lithiumtech/rdbi/issues/37/comments","statuses_url":"https://api.github.com/repos/lithiumtech/rdbi/statuses/a90b9b561261d3593d7bbf82a39f76d8cf15ff8b","head":{"label":"lithiumtech:ak-lstn305","ref":"ak-lstn305","sha":"a90b9b561261d3593d7bbf82a39f76d8cf15ff8b","user":{"login":"lithiumtech","id":4430799,"avatar_url":"https://avatars.githubusercontent.com/u/4430799?v=3","gravatar_id":"","url":"https://api.github.com/users/lithiumtech","html_url":"https://github.com/lithiumtech","followers_url":"https://api.github.com/users/lithiumtech/followers","following_url":"https://api.github.com/users/lithiumtech/following{/other_user}","gists_url":"https://api.github.com/users/lithiumtech/gists{/gist_id}","starred_url":"https://api.github.com/users/lithiumtech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lithiumtech/subscriptions","organizations_url":"https://api.github.com/users/lithiumtech/orgs","repos_url":"https://api.github.com/users/lithiumtech/repos","events_url":"https://api.github.com/users/lithiumtech/events{/privacy}","received_events_url":"https://api.github.com/users/lithiumtech/received_events","type":"Organization","site_admin":false},"repo":{"id":12325048,"name":"rdbi","full_name":"lithiumtech/rdbi","owner":{"login":"lithiumtech","id":4430799,"avatar_url":"https://avatars.githubusercontent.com/u/4430799?v=3","gravatar_id":"","url":"https://api.github.com/users/lithiumtech","html_url":"https://github.com/lithiumtech","followers_url":"https://api.github.com/users/lithiumtech/followers","following_url":"https://api.github.com/users/lithiumtech/following{/other_user}","gists_url":"https://api.github.com/users/lithiumtech/gists{/gist_id}","starred_url":"https://api.github.com/users/lithiumtech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lithiumtech/subscriptions","organizations_url":"https://api.github.com/users/lithiumtech/orgs","repos_url":"https://api.github.com/users/lithiumtech/repos","events_url":"https://api.github.com/users/lithiumtech/events{/privacy}","received_events_url":"https://api.github.com/users/lithiumtech/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/lithiumtech/rdbi","description":"Redis+Lua with interface like JDBI","fork":false,"url":"https://api.github.com/repos/lithiumtech/rdbi","forks_url":"https://api.github.com/repos/lithiumtech/rdbi/forks","keys_url":"https://api.github.com/repos/lithiumtech/rdbi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lithiumtech/rdbi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lithiumtech/rdbi/teams","hooks_url":"https://api.github.com/repos/lithiumtech/rdbi/hooks","issue_events_url":"https://api.github.com/repos/lithiumtech/rdbi/issues/events{/number}","events_url":"https://api.github.com/repos/lithiumtech/rdbi/events","assignees_url":"https://api.github.com/repos/lithiumtech/rdbi/assignees{/user}","branches_url":"https://api.github.com/repos/lithiumtech/rdbi/branches{/branch}","tags_url":"https://api.github.com/repos/lithiumtech/rdbi/tags","blobs_url":"https://api.github.com/repos/lithiumtech/rdbi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lithiumtech/rdbi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lithiumtech/rdbi/git/refs{/sha}","trees_url":"https://api.github.com/repos/lithiumtech/rdbi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lithiumtech/rdbi/statuses/{sha}","languages_url":"https://api.github.com/repos/lithiumtech/rdbi/languages","stargazers_url":"https://api.github.com/repos/lithiumtech/rdbi/stargazers","contributors_url":"https://api.github.com/repos/lithiumtech/rdbi/contributors","subscribers_url":"https://api.github.com/repos/lithiumtech/rdbi/subscribers","subscription_url":"https://api.github.com/repos/lithiumtech/rdbi/subscription","commits_url":"https://api.github.com/repos/lithiumtech/rdbi/commits{/sha}","git_commits_url":"https://api.github.com/repos/lithiumtech/rdbi/git/commits{/sha}","comments_url":"https://api.github.com/repos/lithiumtech/rdbi/comments{/number}","issue_comment_url":"https://api.github.com/repos/lithiumtech/rdbi/issues/comments{/number}","contents_url":"https://api.github.com/repos/lithiumtech/rdbi/contents/{+path}","compare_url":"https://api.github.com/repos/lithiumtech/rdbi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lithiumtech/rdbi/merges","archive_url":"https://api.github.com/repos/lithiumtech/rdbi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lithiumtech/rdbi/downloads","issues_url":"https://api.github.com/repos/lithiumtech/rdbi/issues{/number}","pulls_url":"https://api.github.com/repos/lithiumtech/rdbi/pulls{/number}","milestones_url":"https://api.github.com/repos/lithiumtech/rdbi/milestones{/number}","notifications_url":"https://api.github.com/repos/lithiumtech/rdbi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lithiumtech/rdbi/labels{/name}","releases_url":"https://api.github.com/repos/lithiumtech/rdbi/releases{/id}","created_at":"2013-08-23T14:30:48Z","updated_at":"2015-11-23T20:17:02Z","pushed_at":"2015-12-09T19:15:09Z","git_url":"git://github.com/lithiumtech/rdbi.git","ssh_url":"git@github.com:lithiumtech/rdbi.git","clone_url":"https://github.com/lithiumtech/rdbi.git","svn_url":"https://github.com/lithiumtech/rdbi","homepage":"","size":308,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":2,"default_branch":"master"}},"base":{"label":"lithiumtech:master","ref":"master","sha":"0dcdab16f734106605ee966661bbf5f19f2fa846","user":{"login":"lithiumtech","id":4430799,"avatar_url":"https://avatars.githubusercontent.com/u/4430799?v=3","gravatar_id":"","url":"https://api.github.com/users/lithiumtech","html_url":"https://github.com/lithiumtech","followers_url":"https://api.github.com/users/lithiumtech/followers","following_url":"https://api.github.com/users/lithiumtech/following{/other_user}","gists_url":"https://api.github.com/users/lithiumtech/gists{/gist_id}","starred_url":"https://api.github.com/users/lithiumtech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lithiumtech/subscriptions","organizations_url":"https://api.github.com/users/lithiumtech/orgs","repos_url":"https://api.github.com/users/lithiumtech/repos","events_url":"https://api.github.com/users/lithiumtech/events{/privacy}","received_events_url":"https://api.github.com/users/lithiumtech/received_events","type":"Organization","site_admin":false},"repo":{"id":12325048,"name":"rdbi","full_name":"lithiumtech/rdbi","owner":{"login":"lithiumtech","id":4430799,"avatar_url":"https://avatars.githubusercontent.com/u/4430799?v=3","gravatar_id":"","url":"https://api.github.com/users/lithiumtech","html_url":"https://github.com/lithiumtech","followers_url":"https://api.github.com/users/lithiumtech/followers","following_url":"https://api.github.com/users/lithiumtech/following{/other_user}","gists_url":"https://api.github.com/users/lithiumtech/gists{/gist_id}","starred_url":"https://api.github.com/users/lithiumtech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lithiumtech/subscriptions","organizations_url":"https://api.github.com/users/lithiumtech/orgs","repos_url":"https://api.github.com/users/lithiumtech/repos","events_url":"https://api.github.com/users/lithiumtech/events{/privacy}","received_events_url":"https://api.github.com/users/lithiumtech/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/lithiumtech/rdbi","description":"Redis+Lua with interface like JDBI","fork":false,"url":"https://api.github.com/repos/lithiumtech/rdbi","forks_url":"https://api.github.com/repos/lithiumtech/rdbi/forks","keys_url":"https://api.github.com/repos/lithiumtech/rdbi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lithiumtech/rdbi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lithiumtech/rdbi/teams","hooks_url":"https://api.github.com/repos/lithiumtech/rdbi/hooks","issue_events_url":"https://api.github.com/repos/lithiumtech/rdbi/issues/events{/number}","events_url":"https://api.github.com/repos/lithiumtech/rdbi/events","assignees_url":"https://api.github.com/repos/lithiumtech/rdbi/assignees{/user}","branches_url":"https://api.github.com/repos/lithiumtech/rdbi/branches{/branch}","tags_url":"https://api.github.com/repos/lithiumtech/rdbi/tags","blobs_url":"https://api.github.com/repos/lithiumtech/rdbi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lithiumtech/rdbi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lithiumtech/rdbi/git/refs{/sha}","trees_url":"https://api.github.com/repos/lithiumtech/rdbi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lithiumtech/rdbi/statuses/{sha}","languages_url":"https://api.github.com/repos/lithiumtech/rdbi/languages","stargazers_url":"https://api.github.com/repos/lithiumtech/rdbi/stargazers","contributors_url":"https://api.github.com/repos/lithiumtech/rdbi/contributors","subscribers_url":"https://api.github.com/repos/lithiumtech/rdbi/subscribers","subscription_url":"https://api.github.com/repos/lithiumtech/rdbi/subscription","commits_url":"https://api.github.com/repos/lithiumtech/rdbi/commits{/sha}","git_commits_url":"https://api.github.com/repos/lithiumtech/rdbi/git/commits{/sha}","comments_url":"https://api.github.com/repos/lithiumtech/rdbi/comments{/number}","issue_comment_url":"https://api.github.com/repos/lithiumtech/rdbi/issues/comments{/number}","contents_url":"https://api.github.com/repos/lithiumtech/rdbi/contents/{+path}","compare_url":"https://api.github.com/repos/lithiumtech/rdbi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lithiumtech/rdbi/merges","archive_url":"https://api.github.com/repos/lithiumtech/rdbi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lithiumtech/rdbi/downloads","issues_url":"https://api.github.com/repos/lithiumtech/rdbi/issues{/number}","pulls_url":"https://api.github.com/repos/lithiumtech/rdbi/pulls{/number}","milestones_url":"https://api.github.com/repos/lithiumtech/rdbi/milestones{/number}","notifications_url":"https://api.github.com/repos/lithiumtech/rdbi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lithiumtech/rdbi/labels{/name}","releases_url":"https://api.github.com/repos/lithiumtech/rdbi/releases{/id}","created_at":"2013-08-23T14:30:48Z","updated_at":"2015-11-23T20:17:02Z","pushed_at":"2015-12-09T19:15:09Z","git_url":"git://github.com/lithiumtech/rdbi.git","ssh_url":"git@github.com:lithiumtech/rdbi.git","clone_url":"https://github.com/lithiumtech/rdbi.git","svn_url":"https://github.com/lithiumtech/rdbi","homepage":"","size":308,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lithiumtech/rdbi/pulls/37"},"html":{"href":"https://github.com/lithiumtech/rdbi/pull/37"},"issue":{"href":"https://api.github.com/repos/lithiumtech/rdbi/issues/37"},"comments":{"href":"https://api.github.com/repos/lithiumtech/rdbi/issues/37/comments"},"review_comments":{"href":"https://api.github.com/repos/lithiumtech/rdbi/pulls/37/comments"},"review_comment":{"href":"https://api.github.com/repos/lithiumtech/rdbi/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lithiumtech/rdbi/pulls/37/commits"},"statuses":{"href":"https://api.github.com/repos/lithiumtech/rdbi/statuses/a90b9b561261d3593d7bbf82a39f76d8cf15ff8b"}}}}