{"action":"created","issue":{"url":"https://api.github.com/repos/linkedin/gobblin/issues/376","labels_url":"https://api.github.com/repos/linkedin/gobblin/issues/376/labels{/name}","comments_url":"https://api.github.com/repos/linkedin/gobblin/issues/376/comments","events_url":"https://api.github.com/repos/linkedin/gobblin/issues/376/events","html_url":"https://github.com/linkedin/gobblin/pull/376","id":110589216,"number":376,"title":"Add loop parallelization utility to ExecutorsUtils","user":{"login":"pcadabam","id":1166372,"avatar_url":"https://avatars.githubusercontent.com/u/1166372?v=3","gravatar_id":"","url":"https://api.github.com/users/pcadabam","html_url":"https://github.com/pcadabam","followers_url":"https://api.github.com/users/pcadabam/followers","following_url":"https://api.github.com/users/pcadabam/following{/other_user}","gists_url":"https://api.github.com/users/pcadabam/gists{/gist_id}","starred_url":"https://api.github.com/users/pcadabam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcadabam/subscriptions","organizations_url":"https://api.github.com/users/pcadabam/orgs","repos_url":"https://api.github.com/users/pcadabam/repos","events_url":"https://api.github.com/users/pcadabam/events{/privacy}","received_events_url":"https://api.github.com/users/pcadabam/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-09T05:26:09Z","updated_at":"2015-10-10T00:25:02Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/linkedin/gobblin/pulls/376","html_url":"https://github.com/linkedin/gobblin/pull/376","diff_url":"https://github.com/linkedin/gobblin/pull/376.diff","patch_url":"https://github.com/linkedin/gobblin/pull/376.patch"},"body":"We find loop parallelizing logic in several parts of the code base hence trying to make a standard way of doing it.\r\nAdded a utility method to parallelize loops. Applies a {@link Function} to every element in a {@link List} in parallel by spawning threads. A list containing the result obtained by applying the function is returned. The method is a blocking call and will wait for all the elements in the list to be processed or timeoutInSecs which ever is earlier.\r\n\r\n@chavdar can you review?"},"comment":{"url":"https://api.github.com/repos/linkedin/gobblin/issues/comments/147016037","html_url":"https://github.com/linkedin/gobblin/pull/376#issuecomment-147016037","issue_url":"https://api.github.com/repos/linkedin/gobblin/issues/376","id":147016037,"user":{"login":"chavdar","id":928795,"avatar_url":"https://avatars.githubusercontent.com/u/928795?v=3","gravatar_id":"","url":"https://api.github.com/users/chavdar","html_url":"https://github.com/chavdar","followers_url":"https://api.github.com/users/chavdar/followers","following_url":"https://api.github.com/users/chavdar/following{/other_user}","gists_url":"https://api.github.com/users/chavdar/gists{/gist_id}","starred_url":"https://api.github.com/users/chavdar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chavdar/subscriptions","organizations_url":"https://api.github.com/users/chavdar/orgs","repos_url":"https://api.github.com/users/chavdar/repos","events_url":"https://api.github.com/users/chavdar/events{/privacy}","received_events_url":"https://api.github.com/users/chavdar/received_events","type":"User","site_admin":false},"created_at":"2015-10-10T00:25:02Z","updated_at":"2015-10-10T00:25:02Z","body":"One small comment. Overall, LGTM."}}